def test_get_source_size_gzip(self): entry = FileStatisticsEntry( self.root_path, b'file_statistics.2014-11-05T16:05:07-05:00.data.gz') size = entry.get_source_size( bytes('<F!chïer> (@vec) {càraçt#èrë} $épêcial', encoding='utf-8')) self.assertEqual(286, size)
def test_get_source_size_gzip(self): entry = FileStatisticsEntry(self.root_path, b'file_statistics.2014-11-05T16:05:07-05:00.data.gz') size = entry.get_source_size(bytes('<F!chïer> (@vec) {càraçt#èrë} $épêcial', encoding='utf-8')) self.assertEqual(286, size)