Beispiel #1
0
 def test__release_push_tag__fail(self):
     self.create_example_repo()
     push_release_tag(git_command=self.moc_command(command='git', rc=1))
Beispiel #2
0
 def test__release_push_tag__timeout(self):
     self.create_example_repo()
     push_release_tag(git_command=self.moc_command(command='git',
                                                   rc=0,
                                                   delay=61),
                      timeout=1)
Beispiel #3
0
 def test__release_push_tag__cmd_missing(self):
     self.create_example_repo()
     push_release_tag(git_command=self.moc_command(command='gitbad', rc=1))