From 3cb5747f54ce4d94d145e44629247ca05dd2888f Mon Sep 17 00:00:00 2001 From: s-hertel Date: Thu, 21 Jul 2016 15:02:19 -0400 Subject: [PATCH] fixing a logic error in test_galaxy --- test/units/cli/test_galaxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/units/cli/test_galaxy.py b/test/units/cli/test_galaxy.py index 9cffd1c5c38..17ee2979a62 100644 --- a/test/units/cli/test_galaxy.py +++ b/test/units/cli/test_galaxy.py @@ -112,8 +112,8 @@ class TestGalaxy(unittest.TestCase): role_info = {'name': 'some_role_name', 'galaxy_info': galaxy_info} display_result = gc._display_role_info(role_info) - if display_result.find('\t\tgalaxy_tags:') > -1: - self.fail('Expected galaxy_tags to be indented twice') + if display_result.find('\n\tgalaxy_info:') == -1: + self.fail('Expected galaxy_info to be indented once') def test_execute_remove(self): # installing role