Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_git_info fails if repo is cloned over ssh #729

Open
ianhinder opened this issue Jul 31, 2020 · 2 comments
Open

test_git_info fails if repo is cloned over ssh #729

ianhinder opened this issue Jul 31, 2020 · 2 comments
Labels
data pipeline api Data pipeline api

Comments

@ianhinder
Copy link
Contributor

________________________________________________________________________________________________________ test_get_repo_info ________________________________________________________________________________________________________

    def test_get_repo_info():
        repo_info = get_repo_info(Path(__file__), "default_repo")
        assert isinstance(repo_info, RepoInfo)
        if git_installed:
>           assert (
                repo_info.uri
                == "https://github.com/ScottishCovidResponse/data_pipeline_api.git"
            )
E           AssertionError: assert 'git@github.com:ScottishCovidResponse/data_pipeline_api.git' == 'https://github.com/ScottishCovidResponse/data_pipeline_api.git'
E             - https://github.com/ScottishCovidResponse/data_pipeline_api.git
E             ? ^ ^^^^^^          ^
E             + git@github.com:ScottishCovidResponse/data_pipeline_api.git
E             ? ^^ ^          ^

tests/test_git_info.py:25: AssertionError
@ianhinder
Copy link
Contributor Author

@ianhinder ianhinder added the data pipeline api Data pipeline api label Jul 31, 2020
@github-actions
Copy link

Heads up @mrow84 @bobturneruk - the "data pipeline api" label was applied to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data pipeline api Data pipeline api
Projects
None yet
Development

No branches or pull requests

1 participant