fix unit test
This commit is contained in:
parent
3294301f45
commit
fa98fe7c59
1 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue