summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorVinay M <63404819+roverflow@users.noreply.github.com>2023-12-06 15:05:19 +0530
committerGitHub <noreply@github.com>2023-12-06 15:05:19 +0530
commitb2dd05465b80e666c957ebc857b875f8681699e8 (patch)
tree37df82f707915298d1537732e80a1da61f4f22ba /tests/unit
parent78ef20c1c8539452a882658ed5edf8c8cdf0643f (diff)
downloadvyos.vyos-b2dd05465b80e666c957ebc857b875f8681699e8.tar.gz
vyos.vyos-b2dd05465b80e666c957ebc857b875f8681699e8.zip
Fix prefix-lists Integration tests (#338)
* Fix prefix-lists Integration tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove autoversion * fix galaxy.yml * sanity fix * sanity ignore * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix ignore file --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/mock/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/mock/loader.py b/tests/unit/mock/loader.py
index 258dccd..2828f38 100644
--- a/tests/unit/mock/loader.py
+++ b/tests/unit/mock/loader.py
@@ -30,7 +30,7 @@ from ansible.parsing.dataloader import DataLoader
class DictDataLoader(DataLoader):
def __init__(self, file_mapping=None):
file_mapping = {} if file_mapping is None else file_mapping
- assert type(file_mapping) == dict
+ assert isinstance(file_mapping, dict)
super(DictDataLoader, self).__init__()