Merge branch '9486-retry-instance-limit-exceeded' closes #9486
[arvados.git] / sdk / python / tests / test_arv_ws.py
1 #!/usr/bin/env python
2
3 import unittest
4 import arvados.errors as arv_error
5 import arvados.commands.ws as arv_ws
6
7 class ArvWsTestCase(unittest.TestCase):
8     def run_ws(self, args):
9         return arv_ws.main(args)
10
11     def test_unsupported_arg(self):
12         with self.assertRaises(SystemExit):
13             self.run_ws(['-x=unknown'])