diff --git a/utils/test/test-change_profile.py b/utils/test/test-change_profile.py index 0263a6c00..717609545 100644 --- a/utils/test/test-change_profile.py +++ b/utils/test/test-change_profile.py @@ -182,7 +182,11 @@ class InvalidChangeProfileInit(AATest): def test_missing_params_2(self): with self.assertRaises(TypeError): - ChangeProfileRule('inet') + ChangeProfileRule(None) + + def test_missing_params_3(self): + with self.assertRaises(TypeError): + ChangeProfileRule(None, ChangeProfileRule.ALL) class InvalidChangeProfileTest(AATest):