Skip to content

Commit

Permalink
add additional config
Browse files Browse the repository at this point in the history
  • Loading branch information
Darshan808 committed Jan 9, 2025
1 parent b5d1ad7 commit 7b01c08
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@


@pytest.fixture
def jp_server_config(jp_server_config):
def jp_server_config(jp_root_dir,jp_server_config):
return {
"ServerApp": {
"jpserver_extensions": {
"jupyter_server_ydoc": True,
"jupyter_server_nbmodel": True,
"jupyter_server_fileid": True,
},
"SQLiteYStore": {"db_path": str(jp_root_dir.joinpath(".rtc_test.db"))},
"BaseFileIdManager": {
"root_dir": str(jp_root_dir),
"db_path": str(jp_root_dir.joinpath(".fid_test.db")),
"db_journal_mode": "OFF",
},
"YDocExtension": {"document_save_delay": 1},
'IdentityProvider': {'token': ''},
"disable_check_xsrf": True,
},
Expand Down

0 comments on commit 7b01c08

Please sign in to comment.