mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 05:53:00 +00:00
fix some deprecation warnings in tests
Calling HasTraits(attr=value) doesn't work for non-traits 1. remove one redundant assignment for a non-trait 2. make one attribute a trait
This commit is contained in:
@@ -76,7 +76,7 @@ def app(request, io_loop, ssl_tmpdir):
|
||||
"""Mock a jupyterhub app for testing"""
|
||||
mocked_app = None
|
||||
ssl_enabled = getattr(request.module, "ssl_enabled", False)
|
||||
kwargs = dict(log_level=logging.DEBUG)
|
||||
kwargs = dict()
|
||||
if ssl_enabled:
|
||||
kwargs.update(
|
||||
dict(
|
||||
|
Reference in New Issue
Block a user