diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/roi.py | 3 | ||||
-rw-r--r-- | tests/timeout.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/roi.py b/tests/roi.py index f429740..0f614cd 100644 --- a/tests/roi.py +++ b/tests/roi.py @@ -24,7 +24,8 @@ def grab(camera, height=3840, offset=0): if __name__ == '__main__': parser = argparse.ArgumentParser() - parser.add_argument('--device', '-d', type=str, help="TANGO device path") + parser.add_argument('--device', '-d', type=str, required=True, + help="TANGO device path") args = parser.parse_args() diff --git a/tests/timeout.py b/tests/timeout.py index 3b0d150..eede1e7 100644 --- a/tests/timeout.py +++ b/tests/timeout.py @@ -31,7 +31,8 @@ def grab(camera, timeout, do_trigger): if __name__ == '__main__': parser = argparse.ArgumentParser() - parser.add_argument('--device', '-d', type=str, help="TANGO device path") + parser.add_argument('--device', '-d', type=str, required=True, + help="TANGO device path") args = parser.parse_args() |