-
Notifications
You must be signed in to change notification settings - Fork 243
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
Fake filesystem changes to devfile parser #2667
Fake filesystem changes to devfile parser #2667
Conversation
/retest |
1 similar comment
/retest |
Codecov Report
@@ Coverage Diff @@
## master #2667 +/- ##
==========================================
- Coverage 43.54% 43.51% -0.03%
==========================================
Files 78 81 +3
Lines 7289 7565 +276
==========================================
+ Hits 3174 3292 +118
- Misses 3809 3958 +149
- Partials 306 315 +9
Continue to review full report at Codecov.
|
@@ -39,8 +40,12 @@ func TestSetDevfileContent(t *testing.T) { | |||
t.Run("valid file", func(t *testing.T) { | |||
|
|||
var ( | |||
tempDevfile = createTempDevfile(t, validJsonRawContent100()) | |||
d = DevfileCtx{absPath: tempDevfile.Name()} | |||
fakeFs = filesystem.NewFakeFs() |
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.
shouldn't this test be converted to table format?
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.
+1 on this
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kadel The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
Tests look good!
/lgtm
What type of PR is this?
What does does this PR do / why we need it:
Accommodating review comments from #2500
Which issue(s) this PR fixes:
Fixes #2553
How to test changes / Special notes to the reviewer:
Devfile related actions should work without any errors.