def test_check_git_installed_and_configured(git_mock): info.check_git()
def test_check_git_not_configured(noconfgit_mock): with pytest.raises(exceptions.GitNotConfigured): info.check_git()
def test_check_git_not_installed(nonegit_mock): with pytest.raises(exceptions.GitNotInstalled): info.check_git()
def test_check_git_installed_and_configured(git_mock): info.check_git()
def test_check_git_not_configured(noconfgit_mock): with pytest.raises(exceptions.GitNotConfigured): info.check_git()
def test_check_git_not_installed(nonegit_mock): with pytest.raises(exceptions.GitNotInstalled): info.check_git()