diff options
-rwxr-xr-x | scripts/cli/test_interfaces.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/cli/test_interfaces.py b/scripts/cli/test_interfaces.py index 712a150c6..4e6617319 100755 --- a/scripts/cli/test_interfaces.py +++ b/scripts/cli/test_interfaces.py @@ -108,6 +108,10 @@ class BondInterfaceTest(BasicInterfaceTest.BaseTest): self.session.commit() + # check validate() - we can only add existing interfaces + self.session.set(self._base_path + [intf, 'member', 'interface', 'eth99']) + with self.assertRaises(ConfigSessionError): + self.session.commit() # check if member deletion works as expected self.session.delete(self._base_path + [intf, 'member']) |