Example #1
0
 def test_del_property_prop_notin_catalog(self):
     A = read_csv_metadata(path_a)
     cm.del_property(A, 'key1')
Example #2
0
 def test_del_property_df_notin_catalog(self):
     A = pd.read_csv(path_a)
     cm.del_property(A, 'key')
Example #3
0
 def test_del_property_invalid_df(self):
     cm.del_property(None, 'key')
Example #4
0
 def test_del_property_invalid_property(self):
     A = read_csv_metadata(path_a)
     cm.del_property(A, None)
Example #5
0
 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)