summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/check-unused-imports.yml2
-rw-r--r--src/tests/helper.py1
-rw-r--r--src/tests/test_config_diff.py1
3 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml
index 7070a23..cbd3038 100644
--- a/.github/workflows/check-unused-imports.yml
+++ b/.github/workflows/check-unused-imports.yml
@@ -10,5 +10,5 @@ permissions:
jobs:
check-unused-imports:
- uses: vyos/.github/.github/workflows/check-unused-imports.yml@feature/py-files-filter
+ uses: vyos/.github/.github/workflows/check-unused-imports.yml@feature/check-pr-commenting
secrets: inherit
diff --git a/src/tests/helper.py b/src/tests/helper.py
index f6a99f0..f417979 100644
--- a/src/tests/helper.py
+++ b/src/tests/helper.py
@@ -17,6 +17,7 @@
import sys
import importlib.util
import math
+import json
def prepare_module(file_path='', module_name=''):
spec = importlib.util.spec_from_file_location(module_name, file_path)
diff --git a/src/tests/test_config_diff.py b/src/tests/test_config_diff.py
index 114edac..65f7a8f 100644
--- a/src/tests/test_config_diff.py
+++ b/src/tests/test_config_diff.py
@@ -17,6 +17,7 @@
import vyos.configtree
from unittest import TestCase
+import json
class TestConfigDiff(TestCase):
def setUp(self):