summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/ios/tests/unit/mock
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
commit38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch)
tree356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/cisco/ios/tests/unit/mock
parentAdding upstream version 7.7.0+dfsg. (diff)
downloadansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz
ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/cisco/ios/tests/unit/mock')
-rw-r--r--ansible_collections/cisco/ios/tests/unit/mock/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible_collections/cisco/ios/tests/unit/mock/loader.py b/ansible_collections/cisco/ios/tests/unit/mock/loader.py
index ebff16f63..0fc53edcd 100644
--- a/ansible_collections/cisco/ios/tests/unit/mock/loader.py
+++ b/ansible_collections/cisco/ios/tests/unit/mock/loader.py
@@ -31,7 +31,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__()