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