Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit 30e9ff0

Browse files
committed
Add metatadata for kernel/file ext info in test
1 parent 46694ae commit 30e9ff0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_handlers.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,12 @@ def test_get_notebook_contents_notebook(self):
326326
nbdir = os.getcwd()
327327

328328
nb = new_notebook(
329+
metadata={
330+
'language_info': {
331+
'name': 'python',
332+
'file_extension': '.py'
333+
}
334+
},
329335
cells=[
330336
new_markdown_cell(u'Testing'),
331337
new_code_cell(u'x = 123')

0 commit comments

Comments
 (0)