diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-05-01 17:34:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 17:34:00 +0200 |
commit | 6872b3f1a3f3765e0f32fdc9e701aa9b1c490e7f (patch) | |
tree | ca88715f2439ebc818039dc9897ce9ed4a910f24 /smoketest/scripts | |
parent | e80e54cbece711d93895d3c7b78689bd282b8fd9 (diff) | |
parent | 107ee099e82397b31fca8cf1ac3860cbf76f0596 (diff) | |
download | vyos-1x-6872b3f1a3f3765e0f32fdc9e701aa9b1c490e7f.tar.gz vyos-1x-6872b3f1a3f3765e0f32fdc9e701aa9b1c490e7f.zip |
Merge pull request #3364 from natali-rs1985/T6234-current
pppoe-server: T6234: PPPoE-server pado-delay refactoring
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-x | smoketest/scripts/cli/test_service_pppoe-server.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_pppoe-server.py b/smoketest/scripts/cli/test_service_pppoe-server.py index 5a48b1f58..97c63d4cb 100755 --- a/smoketest/scripts/cli/test_service_pppoe-server.py +++ b/smoketest/scripts/cli/test_service_pppoe-server.py @@ -168,7 +168,14 @@ class TestServicePPPoEServer(BasicAccelPPPTest.TestCase): conf = ConfigParser(allow_no_value=True, delimiters='=') conf.read(self._config_file) - self.assertEqual(conf['pppoe']['pado-delay'], '10,20:200,-1:300') + self.assertEqual(conf['pppoe']['pado-delay'], '10,20:200,30:300') + + self.set(['pado-delay', 'disable', 'sessions', '400']) + self.cli_commit() + + conf = ConfigParser(allow_no_value=True, delimiters='=') + conf.read(self._config_file) + self.assertEqual(conf['pppoe']['pado-delay'], '10,20:200,30:300,-1:400') if __name__ == '__main__': |