class TestReadWrite(unittest.TestCase): @timing def setUp(self): self.it = IndexItemsTable() self.it.clear_tables() # in case db was not cleaned last time the tests were run self.in_file_path = os.path.join(os.path.dirname(__file__), 'test-index-in.yaml') self.in_file_path = "/repositories/betainstl/svn/instl/index.yaml" self.out_file_path = os.path.join(os.path.dirname(__file__), 'test-index-out.yaml') self.ref_file_path = os.path.join(os.path.dirname(__file__), 'test-index-ref.yaml') self.it.read_yaml_file(self.in_file_path) self.it.resolve_inheritance() def tearDown(self): #self.it.clear_tables() pass def test_00(self): # dummy test to check setUp/tearDown on their own pass