diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-08-29 01:07:06 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 01:07:06 +0530 |
commit | e01d892d0cf6052fc555092bea4a84c9070513c4 (patch) | |
tree | 07a6c3c8c6b3ee5c0f8b1d1f44d7b2a2b0c49cd6 | |
parent | 1e6f8064e46a342783147bd6d4413acbce1aea46 (diff) | |
parent | b565b4d129061693a1eb9cb4e761992bddcf2542 (diff) | |
download | vyos-workflow-test-temp-e01d892d0cf6052fc555092bea4a84c9070513c4.tar.gz vyos-workflow-test-temp-e01d892d0cf6052fc555092bea4a84c9070513c4.zip |
Merge pull request #43 from kumvijaya/current
T0000: test check
-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')) |