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