summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/test_util.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/test_util.py b/src/tests/test_util.py
index 09bf947b8..44122146f 100644
--- a/src/tests/test_util.py
+++ b/src/tests/test_util.py
@@ -19,7 +19,6 @@ from unittest import TestCase
import vyos.util
-
class TestVyOSUtil(TestCase):
def setUp(self):
pass
@@ -30,3 +29,6 @@ class TestVyOSUtil(TestCase):
new_data = vyos.util.mangle_dict_keys(data, '-', '_')
self.assertEqual(new_data, expected_data)
+ def test_process_named_running(self):
+ pid = vyos.util.process_named_running('bash')
+ self.assertTrue(isinstance(pid, int))