diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-01 21:28:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 21:28:48 +0200 |
commit | e019155e3d7a1383f480f2bdf4c7e17d807fc7db (patch) | |
tree | b95ccc6bbe06e1e0dfee8d3c908316eb2ae72a35 /smoketest/scripts | |
parent | c37bbccf18b82f47bb7211a445b054d3606da3cb (diff) | |
parent | 0891817c6f0b4d4bb3e8d4c21f2873ab43e1be26 (diff) | |
download | vyos-1x-e019155e3d7a1383f480f2bdf4c7e17d807fc7db.tar.gz vyos-1x-e019155e3d7a1383f480f2bdf4c7e17d807fc7db.zip |
Merge pull request #3388 from vyos/mergify/bp/sagitta/pr-3364
pppoe-server: T6234: PPPoE-server pado-delay refactoring (backport #3364)
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__': |