mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
remove unused sp
we need to ensure the spawners exist, but we do that when we set last_activity
This commit is contained in:
@@ -391,6 +391,8 @@ class SingleUserNotebookApp(NotebookApp):
|
||||
path = list(_exclude_home(path))
|
||||
return path
|
||||
|
||||
# create dynamic default http client,
|
||||
# configured with any relevant ssl config
|
||||
hub_http_client = Any()
|
||||
@default('hub_http_client')
|
||||
def _default_client(self):
|
||||
|
@@ -1591,7 +1591,6 @@ async def test_update_activity_admin(app, user, admin_user):
|
||||
)
|
||||
async def test_update_server_activity(app, user, server_name, fresh):
|
||||
token = user.new_api_token()
|
||||
sp = user.spawners["exists"]
|
||||
now = utcnow()
|
||||
internal_now = now.replace(tzinfo=None)
|
||||
# we use naive utc internally
|
||||
|
Reference in New Issue
Block a user