This commit is contained in:
Shreyas Goenka 2024-10-31 11:46:13 +01:00
parent 7d5eca562f
commit 9602785347
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 3 additions and 1 deletions

View File

@ -439,7 +439,9 @@ func TestAccFilerWorkspaceNotebookConflict(t *testing.T) {
err = f.Write(ctx, tc.name, strings.NewReader(tc.content1))
require.NoError(t, err)
// Assert contents after initial upload
// Assert contents after initial upload. Note that we expect the content
// for jupyter notebooks to be of type source because the workspace files
// client always uses the source format to read notebooks from the workspace.
filerTest{t, f}.assertContents(ctx, tc.nameWithoutExt, tc.expected1)
// Assert uploading a second time fails due to overwrite mode missing