Ejemplo n.º 1
0
 def test_manifest_text_without_keep_client(self):
     mtext = self.manifest_for('multilevel_collection_1')
     for line in mtext.rstrip('\n').split('\n'):
         reader = StreamReader(line.split())
         self.assertEqual(line + '\n', reader.manifest_text())
Ejemplo n.º 2
0
 def reader_for(self, coll_name, **kwargs):
     return StreamReader(
         self.manifest_for(coll_name).split(), self.keep_client(),
         **kwargs).all_files()[0]
Ejemplo n.º 3
0
 def test_manifest_text_without_keep_client(self):
     mtext = self.manifest_for('multilevel_collection_1')
     for line in mtext.rstrip('\n').split('\n'):
         reader = StreamReader(line.split())
         self.assertEqual(line + '\n', reader.manifest_text())