File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -763,6 +763,24 @@ def test_subversion__get_remote_call_options(
763
763
assert svn .get_remote_call_options () == expected_options
764
764
765
765
766
+ class TestBazaarArgs (TestCase ):
767
+ def setUp (self ) -> None :
768
+ patcher = mock .patch ("pip._internal.vcs.versioncontrol.call_subprocess" )
769
+ self .addCleanup (patcher .stop )
770
+ self .call_subprocess_mock = patcher .start ()
771
+
772
+ # Test Data.
773
+ self .
url = "bzr+http://username:[email protected] /"
774
+ # use_interactive is set to False to test that remote call options are
775
+ # properly added.
776
+ self .svn = Bazaar ()
777
+ self .rev_options = RevOptions (Bazaar )
778
+ self .dest = "/tmp/test"
779
+
780
+ def assert_call_args (self , args : CommandArgs ) -> None :
781
+ assert self .call_subprocess_mock .call_args [0 ][0 ] == args
782
+
783
+
766
784
class TestSubversionArgs (TestCase ):
767
785
def setUp (self ) -> None :
768
786
patcher = mock .patch ("pip._internal.vcs.versioncontrol.call_subprocess" )
You can’t perform that action at this time.
0 commit comments