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:
Min RK
2019-02-05 11:38:42 +01:00
parent 9008d5eea4
commit 71a8573fdb
2 changed files with 6 additions and 3 deletions

View File

@@ -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(