mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 04:41:26 -07:00
Merge pull request #16783 from s-hertel/test_display_galaxy_info_fix
fixing a logic error in test_galaxy
This commit is contained in:
commit
671f9c3d15
1 changed files with 2 additions and 2 deletions
|
@ -114,8 +114,8 @@ class TestGalaxy(unittest.TestCase):
|
||||||
role_info = {'name': 'some_role_name',
|
role_info = {'name': 'some_role_name',
|
||||||
'galaxy_info': galaxy_info}
|
'galaxy_info': galaxy_info}
|
||||||
display_result = gc._display_role_info(role_info)
|
display_result = gc._display_role_info(role_info)
|
||||||
if display_result.find('\t\tgalaxy_tags:') > -1:
|
if display_result.find('\n\tgalaxy_info:') == -1:
|
||||||
self.fail('Expected galaxy_tags to be indented twice')
|
self.fail('Expected galaxy_info to be indented once')
|
||||||
|
|
||||||
def test_execute_remove(self):
|
def test_execute_remove(self):
|
||||||
# installing role
|
# installing role
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue