Example #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"')
Example #2
0
def no_uncommitted_changes(context):
    assert_equal(b'', bash_no_errors('git status -s').output)
Example #3
0
def git_add(context, file_name):
    bash_no_errors('git add {}'.format(file_name))
Example #4
0
def no_uncommitted_changes(context):
    assert_equal('', bash_no_errors('git status -s').value())
Example #5
0
def step_impl(context):
    bash_no_errors('captainhook install')
Example #6
0
def no_uncommitted_changes(context):
    assert_equal("", bash_no_errors("git status -s").value())