mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Misc typo fixes (#49816)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -96,7 +96,7 @@ class TestErrors(unittest.TestCase):
|
||||
def test__load_module_source_no_duplicate_names(self):
|
||||
'''
|
||||
This test simulates importing 2 plugins with the same name,
|
||||
and validating that the import is shortcirtuited if a file with the same name
|
||||
and validating that the import is short circuited if a file with the same name
|
||||
has already been imported
|
||||
'''
|
||||
|
||||
@@ -104,7 +104,7 @@ class TestErrors(unittest.TestCase):
|
||||
|
||||
pl = PluginLoader('test', '', 'test', 'test_plugin')
|
||||
one = pl._load_module_source('import_fixture', os.path.join(fixture_path, 'import_fixture.py'))
|
||||
# This line wouldn't even succeed if we didn't short cirtuit on finding a duplicate name
|
||||
# This line wouldn't even succeed if we didn't short circuit on finding a duplicate name
|
||||
two = pl._load_module_source('import_fixture', '/path/to/import_fixture.py')
|
||||
|
||||
self.assertEqual(one, two)
|
||||
|
||||
Reference in New Issue
Block a user