Esempio n. 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")]))])
Esempio n. 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")]))])
Esempio n. 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")]))])