Show More
@@ -126,5 +126,23 b' casper.notebook_test(function () {' | |||||
126 | this.then(function ( ) { |
|
126 | this.then(function ( ) { | |
127 | check_output_area.apply(this, ['display_data', ['text', 'latex']]); |
|
127 | check_output_area.apply(this, ['display_data', ['text', 'latex']]); | |
128 | }); |
|
128 | }); | |
|
129 | ||||
|
130 | this.then(function() { | |||
|
131 | clear_and_execute(this, | |||
|
132 | "from IPython.display import HTML; HTML('<b>it works!</b>')"); | |||
|
133 | }); | |||
|
134 | ||||
|
135 | this.then(function ( ) { | |||
|
136 | check_output_area.apply(this, ['pyout', ['text', 'html']]); | |||
|
137 | }); | |||
|
138 | ||||
|
139 | this.then(function() { | |||
|
140 | clear_and_execute(this, | |||
|
141 | "from IPython.display import HTML, display; display(HTML('<b>it works!</b>'))"); | |||
|
142 | }); | |||
|
143 | ||||
|
144 | this.then(function ( ) { | |||
|
145 | check_output_area.apply(this, ['display_data', ['text', 'html']]); | |||
|
146 | }); | |||
129 |
|
147 | |||
130 | }); |
|
148 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now