diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-08-28 00:59:55 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 00:59:55 +0530 |
commit | bf7d771bea464f844e38ca586afbe700c7926ed7 (patch) | |
tree | 52b8c20d1aa986697116293b4642f337f1b8f181 | |
parent | a500053153499d389b84c94d540adf919c437ebc (diff) | |
parent | 10540fe20391e6750350bd40206eb3a99158a3af (diff) | |
download | vyos-workflow-test-temp-bf7d771bea464f844e38ca586afbe700c7926ed7.tar.gz vyos-workflow-test-temp-bf7d771bea464f844e38ca586afbe700c7926ed7.zip |
Merge pull request #41 from kumvijaya/current
T0000: prob added
-rw-r--r-- | .github/workflows/darker-lint.yml | 4 | ||||
-rw-r--r-- | src/tests/test_template.py | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml index 8e61ddb..07889f0 100644 --- a/.github/workflows/darker-lint.yml +++ b/.github/workflows/darker-lint.yml @@ -38,8 +38,8 @@ jobs: - name: Fetch base and head commits run: | - git fetch origin ${{ github.event.pull_request.base.sha }}:refs/remotes/origin/base - git fetch origin ${{ github.event.pull_request.head.sha }}:refs/remotes/origin/head + 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 git branch temp-head refs/remotes/origin/temp-head diff --git a/src/tests/test_template.py b/src/tests/test_template.py index dbb86b4..8275503 100644 --- a/src/tests/test_template.py +++ b/src/tests/test_template.py @@ -19,6 +19,7 @@ import vyos.template from vyos.utils.network import interface_exists from ipaddress import ip_network from unittest import TestCase +import json class TestVyOSTemplate(TestCase): def setUp(self): |