def read_resources(self): """Walk to readers to populate the db""" readers = find_readers() self.print_title('Reading resource') for reader in readers: logging.info('Reading with %s', reader) reader()
def test_find_readers(self): "Correctly find readers" readers = find_readers() self.assertIn(dummy_reader, readers)