Skip to content

Commit 7fbf491

Browse files
committed
Mock base_url in the tests for now
1 parent 4b9ce14 commit 7fbf491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbresuse/tests/test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_import_serverextension(self):
2525

2626
# mock a notebook app
2727
nbapp_mock = MagicMock()
28-
nbapp_mock.web_app.settings = {}
28+
nbapp_mock.web_app.settings = {"base_url": ""}
2929

3030
# mock these out for unit test
3131
with patch("tornado.ioloop.PeriodicCallback") as periodic_callback_mock, patch(

0 commit comments

Comments
 (0)