Test/add xfel calibrate cli tests
Compare changes
- Robert Rosca authored
+ 110
− 7
@@ -38,7 +44,17 @@ def test_help_nb(capsys):
@@ -51,18 +67,105 @@ def test_execute_nb(fake_process, capsys, tmpdir):
This MR adds in some basic tests for the CLI in xfel_calibrate. Done since I want to edit the CLI a bit for SQS Moonshot but the CLI is kinda spaghetti so I'm worried about breaking things and not realising it.
Locally, tested by breaking code and checking that the tests fail.
Part of SQS Moonshot, see: