def test_del_property_prop_notin_catalog(self): A = read_csv_metadata(path_a) cm.del_property(A, 'key1')
def test_del_property_df_notin_catalog(self): A = pd.read_csv(path_a) cm.del_property(A, 'key')
def test_del_property_invalid_df(self): cm.del_property(None, 'key')
def test_del_property_invalid_property(self): A = read_csv_metadata(path_a) cm.del_property(A, None)
def test_del_property_valid_df_name(self): A = read_csv_metadata(path_a) cm.del_property(A, 'key') self.assertEqual(len(cm.get_all_properties(A)), 0)