Skip to content

Commit

Permalink
GitHub Action: Apply Pep8-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 11, 2025
1 parent 00cf3a4 commit 8e875c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/WrapExtpar.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def main():
it_cl_type, radtopo_radius,
args.raw_data_path, args.run_dir,
args.account, args.host, args.no_batch_job,
lurban, lsgsl, lfilter_oro,lradtopo)
lurban, lsgsl, lfilter_oro, lradtopo)


def generate_external_parameters(igrid_type,
Expand Down
13 changes: 9 additions & 4 deletions test/pytest/test_wrap_extpar.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ def test_setup_flake_namelist():


def test_setup_tclim_1_namelist():
args = {'raw_data_path': '/path/to/raw/data',
'it_cl_type': 1,}
args = {
'raw_data_path': '/path/to/raw/data',
'it_cl_type': 1,
}
expected_output = {
'it_cl_type': 1,
'raw_data_t_clim_path': '/path/to/raw/data',
Expand All @@ -30,9 +32,12 @@ def test_setup_tclim_1_namelist():
result = setup_tclim_namelist(args)
assert result == expected_output


def test_setup_tclim_2_namelist():
args = {'raw_data_path': '/path/to/raw/data',
'it_cl_type': 2,}
args = {
'raw_data_path': '/path/to/raw/data',
'it_cl_type': 2,
}
expected_output = {
'it_cl_type': 2,
'raw_data_t_clim_path': '/path/to/raw/data',
Expand Down

0 comments on commit 8e875c3

Please sign in to comment.