summaryrefslogtreecommitdiff
path: root/tests/test_argparse.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-08-08 17:33:47 +0900
committerkali <kali@leap.se>2012-08-08 17:33:47 +0900
commit81e0e2bc82757425bebfb659e6c2cb873bc88ec9 (patch)
treebf8faf83ea2f1a5f43085dff6fc284c54e8dc5df /tests/test_argparse.py
parent3516661f431791b8158179f3a5f87af6b05d85a8 (diff)
reset tests + run_tests script + very simple first test.
Diffstat (limited to 'tests/test_argparse.py')
-rw-r--r--tests/test_argparse.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/test_argparse.py b/tests/test_argparse.py
deleted file mode 100644
index a8ce5091..00000000
--- a/tests/test_argparse.py
+++ /dev/null
@@ -1,26 +0,0 @@
-from argparse import Namespace
-import unittest
-
-from eip_client.utils import eip_argparse
-
-
-class LeapArgParseTest(unittest.TestCase):
- """
- Test argparse options for eip client
- """
-
- def setUp(self):
- """
- get the parser
- """
- self.parser = eip_argparse.build_parser()
-
- def test_debug_mode(self):
- """
- test debug mode option
- """
- opts = self.parser.parse_args(
- ['--debug'])
- self.assertEqual(opts,
- Namespace(config=None,
- debug=True))