File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,14 @@ def test__repr_html_is_str(m):
34
34
def test_valid_html (m ):
35
35
html = m ._repr_html_ ()
36
36
parts = html .split ('><' )
37
- assert len (parts ) == 6
37
+ assert len (parts ) == 7
38
38
assert parts [0 ].lstrip ('<div ' ) == 'style="width:100%;"'
39
39
assert parts [1 ].lstrip ('<div ' ) == 'style="position:relative;width:100%;height:0;padding-bottom:60%;"' # noqa
40
- assert parts [2 ].startswith ('iframe' )
41
- assert parts [3 ] == '/iframe'
42
- assert parts [4 ] == '/div'
43
- assert parts [5 ] == '/div>'
40
+ assert 'make this notebook trusted' in parts [2 ].lower ()
41
+ assert parts [3 ].startswith ('iframe' )
42
+ assert parts [4 ] == '/iframe'
43
+ assert parts [5 ] == '/div'
44
+ assert parts [6 ] == '/div>'
44
45
45
46
46
47
def test__repr_png_no_image (m ):
You can’t perform that action at this time.
0 commit comments