From a3419d66c21f20c38990dace3208cc104504cfc5 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Fri, 31 Jul 2020 21:01:04 +0100 Subject: [PATCH] test_git_info.py: Allow ssh remote URL --- tests/test_git_info.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_git_info.py b/tests/test_git_info.py index 58897cc5..ece5f8c1 100644 --- a/tests/test_git_info.py +++ b/tests/test_git_info.py @@ -24,7 +24,8 @@ def test_get_repo_info(): if git_installed: assert ( repo_info.uri - == "https://github.com/ScottishCovidResponse/data_pipeline_api.git" + in ["https://github.com/ScottishCovidResponse/data_pipeline_api.git", + "git@github.com:ScottishCovidResponse/data_pipeline_api.git"] ) else: assert repo_info == RepoInfo(git_sha="", uri="default_repo", is_dirty=True)