def test_prefix(self): self._deploy(prefix='prefix') commands.retitle('1.0', '1.0.1', prefix='prefix') check_call_silent(['git', 'checkout', 'gh-pages']) self._test_retitle(directory='prefix')
def test_branch(self): self._deploy('branch') commands.retitle('1.0', '1.0.1', branch='branch') check_call_silent(['git', 'checkout', 'branch']) self._test_retitle()
def test_commit_message(self): self._deploy() commands.retitle('1.0', '1.0.1', message='commit message') check_call_silent(['git', 'checkout', 'gh-pages']) self._test_retitle('commit message')
def test_retitle(self): self._deploy() commands.retitle('1.0', '1.0.1') check_call_silent(['git', 'checkout', 'gh-pages']) self._test_retitle()