fix unit test

This commit is contained in:
Mike McLean 2018-02-19 11:53:29 -05:00
parent 3294301f45
commit fa98fe7c59

View file

@ -132,9 +132,9 @@ class RepoManagerTest(unittest.TestCase):
def test_check_needed(self):
self.session.getBuildTargets.return_value = [
{'build_tag': 1},
{'build_tag': 2},
{'build_tag': 3},
{'build_tag': 1, 'build_tag_name': 'tag 1'},
{'build_tag': 2, 'build_tag_name': 'tag 2'},
{'build_tag': 3, 'build_tag_name': 'tag 3'},
]
# make two repo entries
repo1 = mock.MagicMock()