Skip to content

Commit dbe9887

Browse files
committed
Fix to test for codegen naming + addition of python codegen dict
1 parent d8912df commit dbe9887

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

servicex/config_default.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ backend_types:
3838
- type: cms_run1_aod
3939
return_data: root-file
4040
codegen: cms
41+
- type: python
42+
return_data: parquet
43+
codegen: python

tests/test_servicex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ async def test_codegen_default_by_backend(mocker, good_awkward_file_data):
13681368
await ds.get_data_rootfiles_async("(valid qastle string)")
13691369

13701370
called = mock_servicex_adaptor.query_json
1371-
assert called["codegen"] == "xaod_r21"
1371+
assert called["codegen"] == "atlasxaod"
13721372

13731373

13741374
@pytest.mark.asyncio

0 commit comments

Comments
 (0)