예제 #1
0
def git_init(context):
    bash_no_errors('git init')
    # Travis needs this:
    bash_no_errors('git config user.email "*****@*****.**"')
    bash_no_errors('git config user.name "Your Name"')
예제 #2
0
def no_uncommitted_changes(context):
    assert_equal(b'', bash_no_errors('git status -s').output)
예제 #3
0
def git_add(context, file_name):
    bash_no_errors('git add {}'.format(file_name))
예제 #4
0
def no_uncommitted_changes(context):
    assert_equal('', bash_no_errors('git status -s').value())
예제 #5
0
def step_impl(context):
    bash_no_errors('captainhook install')
예제 #6
0
def no_uncommitted_changes(context):
    assert_equal("", bash_no_errors("git status -s").value())