1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixing a logic error in test_galaxy

This commit is contained in:
s-hertel 2016-07-21 15:02:19 -04:00
parent 3c39bb5633
commit 3cb5747f54

View file

@ -112,8 +112,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