mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-29 13:51:28 -07:00
Misc typo fixes (#49816)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
7609a8cdd6
commit
013c42b14f
24 changed files with 37 additions and 37 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue