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())
def reader_for(self, coll_name, **kwargs): return StreamReader( self.manifest_for(coll_name).split(), self.keep_client(), **kwargs).all_files()[0]