@@ -540,7 +540,7 @@ cffi==0.9.2
540540 })
541541
542542 It ("installs the vendor directory" , func () {
543- mockCommand .EXPECT ().Execute (buildDir , gomock .Any (), gomock .Any (), "python" , "-m" , "pip" , "install" , "-r" , filepath .Join (buildDir , "requirements.txt" ), "--ignore-installed" , "--exists-action=w" , fmt .Sprintf ("--src=%s/src" , depDir ), "--no-index" , "--no-build-isolation" , fmt .Sprintf ("--find-links=file://%s/vendor" , buildDir ))
543+ mockCommand .EXPECT ().Execute (buildDir , gomock .Any (), gomock .Any (), "python" , "-m" , "pip" , "install" , "-r" , filepath .Join (buildDir , "requirements.txt" ), "--ignore-installed" , "--exists-action=w" , fmt .Sprintf ("--src=%s/src" , depDir ), "--no-index" , fmt .Sprintf ("--find-links=file://%s/vendor" , buildDir ), "--no-build-isolation" )
544544 Expect (supplier .RunPipVendored ()).To (Succeed ())
545545 })
546546 })
@@ -549,7 +549,7 @@ cffi==0.9.2
549549 BeforeEach (func () {
550550 Expect (ioutil .WriteFile (filepath .Join (buildDir , "requirements.txt" ), []byte {}, 0644 )).To (Succeed ())
551551 Expect (os .Mkdir (filepath .Join (buildDir , "vendor" ), 0755 )).To (Succeed ())
552- mockCommand .EXPECT ().Execute (buildDir , gomock .Any (), gomock .Any (), "python" , "-m" , "pip" , "install" , "-r" , filepath .Join (buildDir , "requirements.txt" ), "--ignore-installed" , "--exists-action=w" , fmt .Sprintf ("--src=%s/src" , depDir ), "--no-index" , "--no-build-isolation" , fmt .Sprintf ("--find-links=file://%s/vendor" , buildDir )).Return (fmt .Errorf ("exit 28" ))
552+ mockCommand .EXPECT ().Execute (buildDir , gomock .Any (), gomock .Any (), "python" , "-m" , "pip" , "install" , "-r" , filepath .Join (buildDir , "requirements.txt" ), "--ignore-installed" , "--exists-action=w" , fmt .Sprintf ("--src=%s/src" , depDir ), "--no-index" , fmt .Sprintf ("--find-links=file://%s/vendor" , buildDir ), "--no-build-isolation" ).Return (fmt .Errorf ("exit 28" ))
553553 mockCommand .EXPECT ().Execute (buildDir , gomock .Any (), gomock .Any (), "python" , "-m" , "pip" , "install" , "-r" , filepath .Join (buildDir , "requirements.txt" ), "--ignore-installed" , "--exists-action=w" , fmt .Sprintf ("--src=%s/src" , depDir )).Return (fmt .Errorf ("exit 28" ))
554554 })
555555
0 commit comments