##// END OF EJS Templates
distinguish display_svg() and display() tests
Paul Ivanov -
Show More
@@ -62,8 +62,8 b' casper.notebook_test(function () {'
62 return colors;
62 return colors;
63 });
63 });
64
64
65 this.test.assertEquals(colors[0], '#ff0000', 'First svg should be red');
65 this.test.assertEquals(colors && colors[0], '#ff0000', 'display_svg() First svg should be red');
66 this.test.assertEquals(colors[1], '#000000', 'Second svg should be black');
66 this.test.assertEquals(colors && colors[1], '#000000', 'display_svg() Second svg should be black');
67 });
67 });
68
68
69 // now ensure that we can pass the same metadata dict to plain old display()
69 // now ensure that we can pass the same metadata dict to plain old display()
@@ -91,7 +91,7 b' casper.notebook_test(function () {'
91 return colors;
91 return colors;
92 });
92 });
93
93
94 this.test.assertEquals(colors[0], '#ff0000', 'First svg should be red');
94 this.test.assertEquals(colors && colors[0], '#ff0000', 'display() First svg should be red');
95 this.test.assertEquals(colors[1], '#000000', 'Second svg should be black');
95 this.test.assertEquals(colors && colors[1], '#000000', 'display() Second svg should be black');
96 });
96 });
97 });
97 });
General Comments 0
You need to be logged in to leave comments. Login now