diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-07-12 11:08:03 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-07-12 11:08:03 +0200 |
commit | a5404f23789a73804dfa63721df995188b4bbb9d (patch) | |
tree | 650a6ac86e83e3ae002bb422f1ad1889f6c49cd1 /tests | |
parent | 6e4d24ed15b50411a7b1541ea078756fc455f4ac (diff) | |
download | uca-ufo-a5404f23789a73804dfa63721df995188b4bbb9d.tar.gz uca-ufo-a5404f23789a73804dfa63721df995188b4bbb9d.tar.bz2 uca-ufo-a5404f23789a73804dfa63721df995188b4bbb9d.tar.xz uca-ufo-a5404f23789a73804dfa63721df995188b4bbb9d.zip |
Require device string
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() |