summaryrefslogtreecommitdiff
path: root/tests/test_argparse.py
diff options
context:
space:
mode:
authorantialias <antialias@leap.se>2012-08-14 13:41:01 -0700
committerantialias <antialias@leap.se>2012-08-14 13:41:01 -0700
commitbc44a763808241ec4e732e7b3bbd819490c88cbb (patch)
treea55f7c670dbd051981ce65c37da5320a5e980990 /tests/test_argparse.py
parente1103904fbdd9b54b53075956c279271c17e9a8f (diff)
parentb0ef9f98d8384cb68e59fac91142e5ac9f2ab47c (diff)
Merge branch 'develop' of ssh://leap.se:4422/leap-client into refactor
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 0f2b08a5..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 EIPArgParseTest(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))