Show
Ignore:
Timestamp:
11/13/08 09:17:47 (21 months ago)
Author:
Nicolas ?vrard <nicoe@…>
Branch:
default
Message:

Ensure that RelatorioStream? returns str objects

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • relatorio/tests/test_odt.py

    r80 r81  
    157157        eq_(group, ('formatLang("en")', None, None, None, None, None)) 
    158158 
     159    def test_str(self): 
     160        "Testing that a RelatorioStream str returns a bitstream" 
     161        stream = str(self.oot.generate(**self.data)) 
     162        ok_(isinstance(stream, str))