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