##// END OF EJS Templates
Fix broken test for the invalid notebook
Jessica B. Hamrick -
Show More
@@ -121,10 +121,7 b''
121 {
121 {
122 "cell_type": "heading",
122 "cell_type": "heading",
123 "level": 3,
123 "level": 3,
124 "metadata": {},
124 "metadata": {}
125 "source": [
126 "Image"
127 ]
128 },
125 },
129 {
126 {
130 "cell_type": "code",
127 "cell_type": "code",
@@ -48,7 +48,7 b' class TestValidator(TestsBase):'
48 """Test than an invalid notebook does not pass validation"""
48 """Test than an invalid notebook does not pass validation"""
49 # this notebook has a few different errors:
49 # this notebook has a few different errors:
50 # - the name is an integer, rather than a string
50 # - the name is an integer, rather than a string
51 # - one cell is missing metadata
51 # - one cell is missing its source
52 # - one cell has an invalid level
52 # - one cell has an invalid level
53 with self.fopen(u'invalid.ipynb', u'r') as f:
53 with self.fopen(u'invalid.ipynb', u'r') as f:
54 nb = read(f, u'json')
54 nb = read(f, u'json')
General Comments 0
You need to be logged in to leave comments. Login now