예제 #1
0
def test_check_git_installed_and_configured(git_mock):
    info.check_git()
예제 #2
0
def test_check_git_not_configured(noconfgit_mock):
    with pytest.raises(exceptions.GitNotConfigured):
        info.check_git()
예제 #3
0
def test_check_git_not_installed(nonegit_mock):
    with pytest.raises(exceptions.GitNotInstalled):
        info.check_git()
예제 #4
0
def test_check_git_installed_and_configured(git_mock):
    info.check_git()
예제 #5
0
def test_check_git_not_configured(noconfgit_mock):
    with pytest.raises(exceptions.GitNotConfigured):
        info.check_git()
예제 #6
0
def test_check_git_not_installed(nonegit_mock):
    with pytest.raises(exceptions.GitNotInstalled):
        info.check_git()