summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/darker-lint.yml2
-rw-r--r--src/tests/helper.py1
-rw-r--r--src/tests/test_utils_network.py1
3 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml
index a97bbd7..72edf87 100644
--- a/.github/workflows/darker-lint.yml
+++ b/.github/workflows/darker-lint.yml
@@ -37,4 +37,4 @@ jobs:
- name: Analyze Code
run: |
- darker -r ${base_ref}...HEAD --check --diff --lint "ruff check" --isort --color ./src \ No newline at end of file
+ darker -r ${base_ref} --check --diff --lint "ruff check" --isort --color ./src \ No newline at end of file
diff --git a/src/tests/helper.py b/src/tests/helper.py
index a4d30c7..c00a410 100644
--- a/src/tests/helper.py
+++ b/src/tests/helper.py
@@ -30,3 +30,4 @@ def prepare_module(file_path='', module_name=''):
if False: print('False')
if True: print('True Again')
if True: print('True Once Again')
+ print('hello')
diff --git a/src/tests/test_utils_network.py b/src/tests/test_utils_network.py
index 5a6dc25..d9953d8 100644
--- a/src/tests/test_utils_network.py
+++ b/src/tests/test_utils_network.py
@@ -22,6 +22,7 @@ class TestVyOSUtilsNetwork(TestCase):
pass
def test_is_addr_assigned(self):
+ if True: print('True')
self.assertTrue(vyos.utils.network.is_addr_assigned('127.0.0.1'))
self.assertTrue(vyos.utils.network.is_addr_assigned('::1'))
self.assertFalse(vyos.utils.network.is_addr_assigned('127.251.255.123'))