Exemple #1
0
 def test_sync_repos_with_one_arg(self, fake_sync):
     sync_repos("github.com/app/a")
     fake_sync.assert_has_calls([call(set([Repo("github.com/app/a")]))])
Exemple #2
0
 def test_sync_repos_with_multiple_args_short_name(self, fake_sync):
     sync_repos("a", "b")
     fake_sync.assert_has_calls([call(set([Repo("github.com/app/a"), Repo("github.com/app/b")]))])
Exemple #3
0
 def test_sync_repos_no_args(self, fake_sync):
     sync_repos()
     fake_sync.assert_has_calls([call(set([Repo("github.com/app/a"), Repo("github.com/app/b")]))])