Repository navigation
Add new --pull option in build. - #2041
Conversation
There was a problem hiding this comment.
This should be split into a separate test case def test_build_with_pull(self)
|
Thanks for the contribution! This is actually the 3rd(!) attempt to get this in, the previous ones were abandoned by the submitter, so I hope we can get this merged. We should be able to get it in for the next release. I'll sort out the janky issue, just needs one small change to the test. This will replace #1494 |
|
Build didn't pass but it's quite strange the pull tests are passing and the build ends with: |
|
Don't worry about the build failures, we're having issues with jenkins right now. I'll kick off another run when it's working again. |
|
I will add this to the zsh completion after merge. @albers Incoming |
|
And I'll add it to bash completion. |
|
The build is green, but I think we should split |
|
Actually if I'm splitting |
|
That sounds great, thanks! |
Signed-off-by: Christophe Labouisse <[email protected]>
There was a problem hiding this comment.
As an aside, I think it's a mistake we do this patch as a decorator. It makes it harder to debug tests with pdb. I've been moving some of them to be context managers around just the single line that needs the patch.
Using the with mock.patch() around just the line that needs it also removes the need to do mock_stdout.truncate(0), since it would only wrap the stdout we care about.
Since this is pretty common in our test suite, I wouldn't ask you to change it as part of this PR, I think we can address that in a separate cleanup branch and change them all at once.
|
LGTM |
1 similar comment
|
LGTM |
Add new --pull option in build.
The
--pulloption fromdocker buildis not available on compose. Add it.