KhaninArtur commented on a change in pull request #16855:
URL: https://github.com/apache/beam/pull/16855#discussion_r818773438



##########
File path: playground/backend/internal/preparers/python_preparers_test.go
##########
@@ -101,3 +95,129 @@ func Test_addCodeToFile(t *testing.T) {
                })
        }
 }
+
+func Test_saveLogs(t *testing.T) {
+       file, _ := os.Open(correctPyFile)
+       tmp, _ := utils.CreateTempFile(correctPyFile)
+       defer tmp.Close()
+
+       type args struct {
+               from *os.File
+               to   *os.File
+       }
+       tests := []struct {
+               name    string
+               args    args
+               wantErr bool
+       }{
+               {
+                       // Call saveLogs method to add logs code to tmp file.
+                       name: "Save logs successfully",

Review comment:
       Sorry, could you please point me to it? Can't find the test case




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to