-
Notifications
You must be signed in to change notification settings - Fork 2k
vendor: github.com/moby/moby/api, moby/moby/client master #6571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Really WIP right now. |
0b13cd7 to
cb96562
Compare
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
bac2521 to
989b978
Compare
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Some tests had to be skipped as there's some issues to address, and some of the result-types cannot be mocked / stubbed. Signed-off-by: Sebastiaan van Stijn <[email protected]>
989b978 to
4f7c07c
Compare
|
I kept it as two commits, because otherwise GitHub won't render (other than 1 file at a time). Some tests had to be skipped, because there's some bugs, and some result types could not be stubbed / mocked currently. |
| } | ||
| return client.ImagePullResponse{}, nil | ||
| // FIXME(thaJeztah): how to mock this? | ||
| return nil, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to look at these, as there's no concrete types to use for mocking / testing
| return io.NopCloser(strings.NewReader("")), nil | ||
| // FIXME(thaJeztah): how to mock this? | ||
| return nil, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for this
| } | ||
|
|
||
| func TestNewImportCommandSuccess(t *testing.T) { | ||
| t.Skip("FIXME(thaJeztah): how to mock this?") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few skips for now that must be removed once we have a solution
- What I did
- How I did it
- How to verify it
- Human readable description for the release notes
- A picture of a cute animal (not mandatory but encouraged)