diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-08-27 00:35:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 00:35:23 +0530 |
commit | c133f7982260898124cd2a4937d1318a713c9410 (patch) | |
tree | 125dd2514dc86906c2754711aa60ad4e66d7b111 | |
parent | c0276ab8bbd6e5e44de92749d40a0bec3700a241 (diff) | |
parent | c099c0331b5e7c332429864005ce3f0bddc8a444 (diff) | |
download | vyos-workflow-test-temp-c133f7982260898124cd2a4937d1318a713c9410.tar.gz vyos-workflow-test-temp-c133f7982260898124cd2a4937d1318a713c9410.zip |
Merge pull request #34 from vyos/feature/darker
T0000: test
-rw-r--r-- | .github/workflows/darker-lint.yml | 2 | ||||
-rw-r--r-- | src/tests/helper.py | 1 | ||||
-rw-r--r-- | src/tests/test_utils_network.py | 1 |
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')) |