Skip to content

Commit

Permalink
Fix overrides dict test
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed Aug 3, 2021
1 parent 79ea526 commit 3fa2d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jupyterlab_server/tests/app-settings/overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@jupyterlab/apputils-extension:themes": {
"theme": "JupyterLab Dark",
"codeCellConfig": {
"lineNumbers": false
"lineNumbers": true
}
},
"@jupyterlab/unicode-extension:plugin": {
Expand Down
2 changes: 1 addition & 1 deletion jupyterlab_server/tests/test_settings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def test_get_settings_overrides_dicts(jp_fetch, labserverapp):
assert data['id'] == id
schema = data['schema']
# Check that overrides.json file is respected.
assert schema['properties']['codeCellConfig']['default']["lineNumbers"] is False
assert schema['properties']['codeCellConfig']['default']["lineNumbers"] is True
assert len(schema['properties']['codeCellConfig']['default']) == 15


Expand Down

0 comments on commit 3fa2d0d

Please sign in to comment.