@patch('paver.git.sh')
def test_branch_chekout_cwd(sh):
    
    git.branch_checkout("my_branch")
    assert sh.called
    assert sh.call_args[0][0] == "cd %(current_path)s; git checkout my_branch" % dict(
        current_path=os.getcwd()
    )
Add a object for a user.
dataset/ETHPy150Open paver/paver/paver/tests/test_git.py/test_branch_chekout_cwd--crossover with--dataset/ETHPy150Open tmetsch/suricate/suricate/data/object_store.py/MongoStore.delete_object