Skip to content

Commit

Permalink
adjust message to be more relevant in the JupyterHub context
Browse files Browse the repository at this point in the history
  • Loading branch information
Eschults committed Oct 3, 2024
1 parent 3476ec3 commit e8b0df6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbresult/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def check(self):
if nbresult_post_check_message == 'JUPYTERLAB':
result = f"""
{result}\n
:100: You can now submit your code through the JupyterLab git GUI. Submit by adding, committing and pushing the folder {tests_directory} (including all of its contents)!
:100: You can now save your changes and move on to the next challenge.
"""
else:
result = f"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_challenge_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ def test_post_check_message_when_env_set_to_jupyterlab(self):
os.chdir(cwd)
os.remove(os.path.join(tests_dir, 'unicity.pickle'))
os.environ['NBRESULT_POST_CHECK_MESSAGE'] = ''
self.assertIn(f'You can now submit your code through the JupyterLab', output)
self.assertIn(f'You can now save your changes and move on to the next challenge', output)

0 comments on commit e8b0df6

Please sign in to comment.