diff options
-rw-r--r-- | .github/workflows/darker-lint.yml | 2 | ||||
-rw-r--r-- | src/tests/test_template.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 5709c02..974ffa0 100644 --- a/.github/workflows/darker-lint.yml +++ b/.github/workflows/darker-lint.yml @@ -44,7 +44,7 @@ jobs: - name: Fetch base and head commits run: | - git fetch origin ${{ github.event.pull_request.base.repo.full_name }} ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/base + git fetch https://github.com/${{ github.event.pull_request.base.repo.full_name }} ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/base # git fetch origin ${{ github.event.pull_request.base.sha }}:refs/remotes/origin/temp-base # git fetch origin ${{ github.event.pull_request.head.sha }}:refs/remotes/origin/temp-head # git branch temp-base refs/remotes/origin/temp-base diff --git a/src/tests/test_template.py b/src/tests/test_template.py index 8275503..0d9c6be 100644 --- a/src/tests/test_template.py +++ b/src/tests/test_template.py @@ -20,6 +20,7 @@ from vyos.utils.network import interface_exists from ipaddress import ip_network from unittest import TestCase import json +import os class TestVyOSTemplate(TestCase): def setUp(self): diff --git a/src/tests/test_utils_network.py b/src/tests/test_utils_network.py index d9953d8..3ab8d98 100644 --- a/src/tests/test_utils_network.py +++ b/src/tests/test_utils_network.py @@ -28,6 +28,7 @@ class TestVyOSUtilsNetwork(TestCase): self.assertFalse(vyos.utils.network.is_addr_assigned('127.251.255.123')) def test_is_ipv6_link_local(self): + if False: print('False') self.assertFalse(vyos.utils.network.is_ipv6_link_local('169.254.0.1')) self.assertTrue(vyos.utils.network.is_ipv6_link_local('fe80::')) self.assertTrue(vyos.utils.network.is_ipv6_link_local('fe80::affe:1')) |