You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within a pytest suite I have created a Server(Thread) class and a server_tmp_path factory in order to simulate the download of a git repository in my project (actually I might need to download only a specific file, but I have to download the whole repo first, am I right?).
and then I define the test function as test_download_git_repo(server, test_git_repo, tmp_path) so then from inside I can retrieve the URL of the test repo (e.g. http://localhost:51848/test_git_repo/) and see that the stuff is there,
When I cd the directory I can see that it corresponds to an initialized git repository with 1 main branch and the initial commit.
So I am a bit baffled that when I try to do the following,
Within a
pytest
suite I have created aServer(Thread)
class and aserver_tmp_path
factory in order to simulate the download of a git repository in my project (actually I might need to download only a specific file, but I have to download the whole repo first, am I right?).I create the test repo like this,
and then I define the test function as
test_download_git_repo(server, test_git_repo, tmp_path)
so then from inside I can retrieve the URL of the test repo (e.g.http://localhost:51848/test_git_repo/)
and see that the stuff is there,When I
cd
the directory I can see that it corresponds to an initialized git repository with 1 main branch and the initial commit.So I am a bit baffled that when I try to do the following,
I get the following Traceback,
Any idea what could be the problem?
The text was updated successfully, but these errors were encountered: