summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_vpn_sstp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-03 13:59:51 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-03 14:00:10 +0200
commitb8c19bc47c56610dc2827a1d1895e89275c300b7 (patch)
tree26510b49a300385aa262c54036e1952ea12b8501 /smoketest/scripts/cli/test_vpn_sstp.py
parent2ad56363dc371de93171461e395cd14f326b7cbf (diff)
downloadvyos-1x-b8c19bc47c56610dc2827a1d1895e89275c300b7.tar.gz
vyos-1x-b8c19bc47c56610dc2827a1d1895e89275c300b7.zip
smoketest: accel-ppp: prepare common base for multiple accel instance tests
Diffstat (limited to 'smoketest/scripts/cli/test_vpn_sstp.py')
-rwxr-xr-xsmoketest/scripts/cli/test_vpn_sstp.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_vpn_sstp.py b/smoketest/scripts/cli/test_vpn_sstp.py
new file mode 100755
index 000000000..fbf958c4d
--- /dev/null
+++ b/smoketest/scripts/cli/test_vpn_sstp.py
@@ -0,0 +1,33 @@
+#!/usr/bin/env python3
+#
+# Copyright (C) 020 VyOS maintainers and contributors
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 or later as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+import unittest
+
+from base_accel_ppp_test import BasicAccelPPPTest
+
+process_name = 'accel-pppd'
+
+class TestVPNSSTPServer(BasicAccelPPPTest.BaseTest):
+ def setUp(self):
+ self._base_path = ['vpn', 'sstp']
+ super().setUp()
+
+ def tearDown(self):
+ self.session.delete(local_if)
+ super().tearDown()
+
+if __name__ == '__main__':
+ unittest.main()