summaryrefslogtreecommitdiff
path: root/src/tests/test_configverify.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_configverify.py')
-rw-r--r--src/tests/test_configverify.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/tests/test_configverify.py b/src/tests/test_configverify.py
index ad7e053db..15ccdf13d 100644
--- a/src/tests/test_configverify.py
+++ b/src/tests/test_configverify.py
@@ -16,7 +16,7 @@
from unittest import TestCase
from vyos.configverify import verify_diffie_hellman_length
-from vyos.util import cmd
+from vyos.utils.process import cmd
dh_file = '/tmp/dh.pem'
@@ -27,11 +27,6 @@ class TestDictSearch(TestCase):
def test_dh_key_none(self):
self.assertFalse(verify_diffie_hellman_length('/tmp/non_existing_file', '1024'))
- def test_dh_key_256(self):
- key_len = '256'
- cmd(f'openssl dhparam -out {dh_file} {key_len}')
- self.assertTrue(verify_diffie_hellman_length(dh_file, key_len))
-
def test_dh_key_512(self):
key_len = '512'
cmd(f'openssl dhparam -out {dh_file} {key_len}')