File tree Expand file tree Collapse file tree 3 files changed +6
-16
lines changed Expand file tree Collapse file tree 3 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ def cwd_subdir_notebook_url(base_url):
9
9
10
10
11
11
@pytest .fixture
12
- def voila_args (notebook_directory , voila_args_extra ):
13
- return ['--VoilaTest .root_dir=%r' % notebook_directory ] + voila_args_extra
12
+ def jupyter_server_args_extra (notebook_directory ):
13
+ return ['--ServerApp .root_dir=%r' % notebook_directory ]
14
14
15
15
16
16
async def test_hello_world (http_server_client , cwd_subdir_notebook_url ):
Original file line number Diff line number Diff line change @@ -10,13 +10,8 @@ def cpp_file_url(base_url):
10
10
11
11
12
12
@pytest .fixture
13
- def jupyter_server_args_extra ():
14
- return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}' ]
15
-
16
-
17
- @pytest .fixture
18
- def voila_args (notebook_directory , voila_args_extra ):
19
- return ['--VoilaTest.root_dir=%r' % notebook_directory ] + voila_args_extra
13
+ def jupyter_server_args_extra (notebook_directory ):
14
+ return ['--ServerApp.root_dir=%r' % notebook_directory , '--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}' ]
20
15
21
16
22
17
@pytest .mark .skipif (not TEST_XEUS_CLING , reason = 'opt in to avoid having to install xeus-cling' )
Original file line number Diff line number Diff line change 3
3
4
4
5
5
@pytest .fixture
6
- def voila_args (notebook_directory , voila_args_extra ):
7
- return ['--VoilaTest.root_dir=%r' % notebook_directory ] + voila_args_extra
8
-
9
-
10
- @pytest .fixture
11
- def jupyter_server_args_extra ():
12
- return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}' ]
6
+ def jupyter_server_args_extra (notebook_directory ):
7
+ return ['--ServerApp.root_dir=%r' % notebook_directory , '--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}' ]
13
8
14
9
15
10
async def test_tree (http_server_client , base_url ):
You can’t perform that action at this time.
0 commit comments