From e105d111b8d84bf37d7d75789f134b57457840f5 Mon Sep 17 00:00:00 2001 From: rcervinoucm Date: Mon, 8 Jul 2024 11:05:27 +0200 Subject: [PATCH] Create test_gainsel_webmaker.py --- src/osa/tests/test_gainsel_webmaker.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/osa/tests/test_gainsel_webmaker.py diff --git a/src/osa/tests/test_gainsel_webmaker.py b/src/osa/tests/test_gainsel_webmaker.py new file mode 100644 index 00000000..d4e603fa --- /dev/null +++ b/src/osa/tests/test_gainsel_webmaker.py @@ -0,0 +1,16 @@ +def test_gain_selection_webmaker( + run_summary, + merged_run_summary, + drs4_time_calibration_files, + systematic_correction_files, + base_test_dir, +): + + + output = sp.run( + ["gainsel_webmaker", "--test", "-d", "2020-01-17"], + text=True, + stdout=sp.PIPE, + stderr=sp.PIPE, + ) + assert output.returncode != 0