Skip to content

Commit

Permalink
ed
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell committed Aug 31, 2023
1 parent dd136fe commit 204b265
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nbgrader/tests/preprocessors/test_instantiatetests.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ def test_kernel_right_workingdir(self, preprocessor, caplog):
# test that autotest starts a kernel that uses the `path` metadata as working directory
# without the right path, the kernel should report an error
def test_kernel_wrong_workingdir(self, preprocessor, caplog):
sol_cell = create_autotest_solution_cell()
test_cell = create_autotest_test_cell()
load_cell = create_file_loader_cell('grades.csv')
test_cell.metadata['nbgrader'] = {'grade': True}

nb = new_notebook()
nb.metadata['kernelspec'] = {
"name": "python3"
Expand Down

0 comments on commit 204b265

Please sign in to comment.