예제 #1
0
파일: repos_test.py 프로젝트: thieman/dusty
 def test_update_managed_repos_for_both(self, fake_update_local_repo_async,
                                        fake_add_known_hosts):
     activate_bundle(['bundle-a'], False)
     activate_bundle(['bundle-b'], False)
     update_managed_repos()
     fake_update_local_repo_async.assert_has_calls(
         [call(ANY, force=False),
          call(ANY, force=False)])
예제 #2
0
파일: repos_test.py 프로젝트: melkorm/dusty
 def test_update_managed_repos_for_both(self, fake_update_local_repo):
     activate_bundle(['bundle-a'])
     activate_bundle(['bundle-b'])
     update_managed_repos()
     fake_update_local_repo.assert_has_calls([call(), call()])
예제 #3
0
 def test_update_managed_repos(self, fake_update_local_repo_async, fake_add_known_hosts):
     activate_bundle(['bundle-a'])
     update_managed_repos()
     fake_update_local_repo_async.assert_has_calls([call(ANY, force=False)])