kiwicom / pytest-recording

A pytest plugin that allows recording network interactions via VCR.py
MIT License
441 stars 35 forks source link

Cannot record when use GitPython #117

Closed thewalldao closed 1 year ago

thewalldao commented 1 year ago

Hi guys, Now I have a testcase use GitPython and take so much time, I want to use pytest-recording to record git request (GitPython), but It cannot record it, Is there anyone who know how to record git request by using GitPython library?

Stranger6667 commented 1 year ago

Hi! This is more of a question for the underlying vcrpy library - it uses mocks for popular network libraries in order to record traffic. Apparently they don’t have a mock for GitPython underlying machinery

thewalldao commented 1 year ago

Hi! This is more of a question for the underlying vcrpy library - it uses mocks for popular network libraries in order to record traffic. Apparently they don’t have a mock for GitPython underlying machinery

Thank you, So now I will continue with another solution.