def test_create_class(self): """ create the class """ current_table = iv.IndexerValues() self.assertTrue(current_table is not None) # check the date format self.assertTrue(current_table.date_format == "%Y-%m-%d")
def setUp(self): """ Setup environment for the Ward tests :return: """ unittest.TestCase.setUp(self) self.test_table = iv.IndexerValues()
def setUp(self): """ Setup environment for the Ward tests :return: """ unittest.TestCase.setUp(self) fn = dummy_locations() fn = fn.joinpath('dummy_table_201512.csv') self.my_data = iv.IndexerValues() self.my_data.read_table_name(fn)