consistency is now check not_equal if one option has PropertiesOptionError
[tiramisu.git] / test / test_option_calculation.py
index 3ecd047..9da8103 100644 (file)
@@ -480,7 +480,7 @@ def test_callback_master_and_slaves_master4():
     assert list(cfg.cfgimpl_get_values().mandatory_warnings(force_permissive=True)) == []
 
 
-def test_callback_master_and_slaves_master_mandatory_transitive():
+def test_consistency_master_and_slaves_master_mandatory_transitive():
     #default value
     val1 = IPOption('val1', "", ['192.168.0.1'], multi=True, properties=('mandatory',))
     val2 = NetmaskOption('val2', "", multi=True, default_multi='255.255.255.0', properties=('disabled', 'mandatory'))
@@ -501,7 +501,7 @@ def test_callback_master_and_slaves_master_mandatory_transitive():
     assert list(cfg.cfgimpl_get_values().mandatory_warnings(force_permissive=True)) == []
 
 
-def test_callback_master_and_slaves_master_mandatory_non_transitive():
+def test_consistency_master_and_slaves_master_mandatory_non_transitive():
     #no value
     val1 = IPOption('val1', "", multi=True, properties=('mandatory',))
     val2 = NetmaskOption('val2', "", multi=True, default_multi='255.255.255.0', properties=('disabled', 'mandatory'))