##// END OF EJS Templates
add test for latex to/fromJSON
Paul Ivanov -
Show More
@@ -108,5 +108,23 b' casper.notebook_test(function () {'
108 this.then(function ( ) {
108 this.then(function ( ) {
109 check_output_area.apply(this, ['display_data', ['text', 'json']]);
109 check_output_area.apply(this, ['display_data', ['text', 'json']]);
110 });
110 });
111
112 this.then(function() {
113 clear_and_execute(this,
114 "from IPython.display import Latex; Latex('$X^2$')");
115 });
116
117 this.then(function ( ) {
118 check_output_area.apply(this, ['pyout', ['text', 'latex']]);
119 });
120
121 this.then(function() {
122 clear_and_execute(this,
123 "from IPython.display import Latex, display; display(Latex('$X^2$'))");
124 });
125
126 this.then(function ( ) {
127 check_output_area.apply(this, ['display_data', ['text', 'latex']]);
128 });
111
129
112 });
130 });
General Comments 0
You need to be logged in to leave comments. Login now