mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
7d5eca562f
commit
9602785347
|
@ -439,7 +439,9 @@ func TestAccFilerWorkspaceNotebookConflict(t *testing.T) {
|
||||||
err = f.Write(ctx, tc.name, strings.NewReader(tc.content1))
|
err = f.Write(ctx, tc.name, strings.NewReader(tc.content1))
|
||||||
require.NoError(t, err)
|
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)
|
filerTest{t, f}.assertContents(ctx, tc.nameWithoutExt, tc.expected1)
|
||||||
|
|
||||||
// Assert uploading a second time fails due to overwrite mode missing
|
// Assert uploading a second time fails due to overwrite mode missing
|
||||||
|
|
Loading…
Reference in New Issue