예제 #1
0
    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()
예제 #2
0
    def test_find_readers(self):
        "Correctly find readers"

        readers = find_readers()
        self.assertIn(dummy_reader, readers)
예제 #3
0
    def test_find_readers(self):
        "Correctly find readers"

        readers = find_readers()
        self.assertIn(dummy_reader, readers)