Skip to content

Commit

Permalink
Should remove file exists error in create assignment and validate ass…
Browse files Browse the repository at this point in the history
…ignments
  • Loading branch information
brichet committed Mar 26, 2024
1 parent 37c112f commit b2e72f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nbgrader/tests/ui-tests/create_assignement.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ test.beforeEach(async ({ request, tmpPath }) => {
if (request === undefined) throw new Error("Request is undefined.");

const contents = galata.newContentsHelper(request);

await contents.createDirectory(tmpPath);

nbFiles.forEach((elem) => {
contents.uploadFile(
path.resolve(__dirname, `./files/${elem}`),
Expand Down
2 changes: 2 additions & 0 deletions nbgrader/tests/ui-tests/validate_assignment.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ test.beforeEach(async ({ request, tmpPath }) => {
if (request === undefined) throw new Error("Request is undefined.");

const contents = galata.newContentsHelper(request);
await contents.createDirectory(tmpPath);

nbFiles.forEach((elem) => {
contents.uploadFile(
path.resolve(__dirname, `./files/${elem}`),
Expand Down

0 comments on commit b2e72f2

Please sign in to comment.