<s> import unittest <EOL> from ... compatibility import StringIO <EOL> from ... styles import Styles <EOL> class TestWriteDxfs ( unittest . TestCase ) : <EOL> """<STR_LIT>""" <EOL> def setUp ( self ) : <EOL> self . fh = StringIO ( ) <EOL> self . styles = Styles ( ) <EOL> self . styles . _set_filehandle ( self . fh ) <EOL> def test_write_dxfs ( self ) : <EOL> """<STR_LIT>""" <EOL> self . styles . _write_dxfs ( ) <EOL> exp = """<STR_LIT>""" <EOL> got = self . fh . getvalue ( ) <EOL> self . assertEqual ( got , exp ) </s>
