Skip to content

Commit 77a8cd5

Browse files
committed
test(vcs/git): init args skeleton + fixture
1 parent 630b21c commit 77a8cd5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/unit/test_vcs.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,19 @@ def test_fetch_new_very_verbose(self) -> None:
819819
)
820820

821821

822+
class TestGitArgs(TestCase):
823+
def setUp(self) -> None:
824+
patcher = mock.patch("pip._internal.vcs.versioncontrol.call_subprocess")
825+
self.addCleanup(patcher.stop)
826+
self.call_subprocess_mock = patcher.start()
827+
828+
# Test Data.
829+
self.url = "git+http://username:[email protected]/"
830+
self.svn = Git()
831+
self.rev_options = RevOptions(Git)
832+
self.dest = "/tmp/test"
833+
834+
822835
class TestSubversionArgs(TestCase):
823836
def setUp(self) -> None:
824837
patcher = mock.patch("pip._internal.vcs.versioncontrol.call_subprocess")

0 commit comments

Comments
 (0)