##// END OF EJS Templates
clean up CSS and firefox clicks...
clean up CSS and firefox clicks - `#button-select-all` toggles the all/none checkbox and the all/none checkbox now works on firefox - static appearance of the `#button-select-all` button (even on counter change, up to two digits) - clean up `tree.less`

File last commit:

r19813:00ef7cca
r20360:4d9f064b
Show More
test_python.py
23 lines | 693 B | text/x-python | PythonLexer
"""Tests for PythonExporter"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from .base import ExportersTestsBase
from ..python import PythonExporter
class TestPythonExporter(ExportersTestsBase):
"""Tests for PythonExporter"""
exporter_class = PythonExporter
should_include_raw = ['python']
def test_constructor(self):
"""Can a PythonExporter be constructed?"""
self.exporter_class()
def test_export(self):
"""Can a PythonExporter export something?"""
(output, resources) = self.exporter_class().from_filename(self._get_notebook())
self.assertIn("coding: utf-8", output)