Show More
@@ -27,11 +27,13 b' class TestCSSHTMLHeader(TransformerTestsBase):' | |||||
27 |
|
27 | |||
28 | def test_constructor(self): |
|
28 | def test_constructor(self): | |
29 | """Can a CSSHTMLHeaderTransformer be constructed?""" |
|
29 | """Can a CSSHTMLHeaderTransformer be constructed?""" | |
30 | CSSHTMLHeaderTransformer() |
|
30 | transformer = CSSHTMLHeaderTransformer() | |
|
31 | transformer.enabled = True | |||
|
32 | return transformer | |||
31 |
|
33 | |||
32 |
|
34 | |||
33 | def test_output(self): |
|
35 | def test_output(self): | |
34 | """Test the output of the CSSHTMLHeaderTransformer""" |
|
36 | """Test the output of the CSSHTMLHeaderTransformer""" | |
35 |
nb, res = |
|
37 | nb, res = self.test_constructor()(self.build_notebook(), {}) | |
36 | assert 'inlining' in res |
|
38 | assert 'inlining' in res | |
37 | assert 'css' in res['inlining'] No newline at end of file |
|
39 | assert 'css' in res['inlining'] |
General Comments 0
You need to be logged in to leave comments.
Login now