diff --git a/tests/airos/test_ebtables.py b/tests/airos/test_ebtables.py new file mode 100644 index 000000000..f212b3b45 --- /dev/null +++ b/tests/airos/test_ebtables.py @@ -0,0 +1,17 @@ +from .mock import ConverterTest, EbtablesAirOs + + +class EbtablesConverter(ConverterTest): + backend = EbtablesAirOs + + def test_ebtables(self): + o = self.backend({}) + o.to_intermediate() + expected = [ + { + 'sys.fw.status': 'disabled', + 'sys.status': 'enabled', + 'status': 'enabled', + }, + ] + self.assertEqualConfig(o.intermediate_data['ebtables'], expected)