def test_data_profiling(self): for file in self.input_file_names: data = Data(file['path']) profile = Profiler(data) self.assertIsNotNone(profile.profile) self.assertIsNotNone(profile.report())
def setUpClass(cls): cls.data = Data(data=pd.DataFrame([1, 2]), data_type='csv')
def test_data_import(self): for file in self.input_file_names: data = Data(file['path']) self.assertEqual(data.data_type, file['type'])