コード例 #1
0
def git_init(context):
    bash('git init')
コード例 #2
0
def commit(context):
    context.last_command = bash('git commit -q -m "commit"')
コード例 #3
0
def uncommitted_changes(context):
    assert_not_equal('', bash('git status -s').output)
コード例 #4
0
def git_add(context, file_name):
    bash('git add {}'.format(file_name))
コード例 #5
0
ファイル: git_steps.py プロジェクト: joshmoore/captainhook
def commit(context):
    context.last_command = bash('git commit -q -m "commit"')
コード例 #6
0
 def test_handles_non_ascii_output(self):
     b = utils.bash("echo ðæ")
     self.assertTrue(bool(b))
コード例 #7
0
ファイル: test_utils.py プロジェクト: koddsson/captainhook
 def test_handles_non_ascii_output(self):
     b = utils.bash("echo ðæ")
     self.assertTrue(bool(b))
コード例 #8
0
def step_impl(context):
    bash('captainhook')