diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-08-27 01:04:17 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 01:04:17 +0530 |
commit | 3bc91a80759f2acf0250103985296c0f058fb59f (patch) | |
tree | b25824c554c65c7e37db265d307189f402d4ca12 | |
parent | c133f7982260898124cd2a4937d1318a713c9410 (diff) | |
parent | d5e4983bb69b21a97147c8a81c348da67b16d85d (diff) | |
download | vyos-workflow-test-temp-3bc91a80759f2acf0250103985296c0f058fb59f.tar.gz vyos-workflow-test-temp-3bc91a80759f2acf0250103985296c0f058fb59f.zip |
Merge pull request #35 from vyos/feature/darker
T0000: test
-rw-r--r-- | .github/workflows/darker-lint.yml | 4 | ||||
-rw-r--r-- | src/tests/test_op_mode.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml index 72edf87..4799c0f 100644 --- a/.github/workflows/darker-lint.yml +++ b/.github/workflows/darker-lint.yml @@ -29,7 +29,7 @@ jobs: - name: darker install run: | - pip install git+https://github.com/akaihola/darker.git@master isort==5.11.4 ruff>=0.0.292 + pip install git+https://github.com/akaihola/darker.git@master ruff>=0.0.292 - name: Fetch base branch run: | @@ -37,4 +37,4 @@ jobs: - name: Analyze Code run: | - darker -r ${base_ref} --check --diff --lint "ruff check" --isort --color ./src
\ No newline at end of file + darker -r ${base_ref} --check --diff --lint "ruff check" --color ./src
\ No newline at end of file diff --git a/src/tests/test_op_mode.py b/src/tests/test_op_mode.py index 90963b3..d4e90b0 100644 --- a/src/tests/test_op_mode.py +++ b/src/tests/test_op_mode.py @@ -21,7 +21,7 @@ import vyos.opmode class TestVyOSOpMode(TestCase): def test_field_name_normalization(self): from vyos.opmode import _normalize_field_name - + if False: print('False') self.assertEqual(_normalize_field_name(" foo bar "), "foo_bar") self.assertEqual(_normalize_field_name("foo-bar"), "foo_bar") self.assertEqual(_normalize_field_name("foo (bar) baz"), "foo_bar_baz") |