예제 #1
0
파일: sync_test.py 프로젝트: melkorm/dusty
 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")]))])
예제 #2
0
파일: sync_test.py 프로젝트: melkorm/dusty
 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")]))])
예제 #3
0
파일: sync_test.py 프로젝트: melkorm/dusty
 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")]))])