Skip to content

Commit

Permalink
Use pyimport/kernel for session API tests
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Oct 31, 2018
1 parent f1a79bf commit b0e0fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebook/services/sessions/tests/test_sessions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def list(self):
def get(self, id):
return self._req('GET', id)

def create(self, path, type='notebook', kernel_name='python', kernel_id=None):
def create(self, path, type='notebook', kernel_name='pyimport/kernel', kernel_id=None):
body = json.dumps({'path': path,
'type': type,
'kernel': {'name': kernel_name,
Expand All @@ -49,7 +49,7 @@ def create(self, path, type='notebook', kernel_name='python', kernel_id=None):

def create_deprecated(self, path):
body = json.dumps({'notebook': {'path': path},
'kernel': {'name': 'python',
'kernel': {'name': 'pyimport/kernel',
'id': 'foo'}})
return self._req('POST', '', body)

Expand Down

0 comments on commit b0e0fec

Please sign in to comment.