Show More
@@ -197,7 +197,9 b' def test_displayobject_repr():' | |||
|
197 | 197 | def test_progress(): |
|
198 | 198 | p = display.ProgressBar(10) |
|
199 | 199 | nt.assert_true('0/10' in repr(p)) |
|
200 | nt.assert_equal(p._repr_html_(), "<progress style='width:100%' max='10' value='0'></progress>") | |
|
200 | p.html_width = '100%' | |
|
201 | p.progress = 5 | |
|
202 | nt.assert_equal(p._repr_html_(), "<progress style='width:100%' max='10' value='5'></progress>") | |
|
201 | 203 | |
|
202 | 204 | def test_json(): |
|
203 | 205 | d = {'a': 5} |
General Comments 0
You need to be logged in to leave comments.
Login now