~coreygoldberg/uci-engine/subunit-results

« back to all changes in this revision

Viewing changes to subunit-results/subunitresults/tests/test_subunit_parser.py

  • Committer: Corey Goldberg
  • Date: 2014-07-31 13:32:14 UTC
  • Revision ID: corey.goldberg@canonical.com-20140731133214-t2ww8nb5n911gqfo
updated FakeDataStore and tests to only accept bytes

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        file_content = self.ds.get_file(filename)
52
52
 
53
53
        self.assertEqual([filename], self.ds.list_files())
54
 
        self.assertEqual(content, file_content)
 
54
        self.assertEqual(content.encode('utf-8'), file_content)
55
55
        self.assertIsInstance(fs_result, subunit_parser.FileSaveResult)