summaryrefslogtreecommitdiff
path: root/tests/test_argparse.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-02-15 09:31:51 +0900
committerkali <kali@leap.se>2013-02-15 09:31:51 +0900
commit9cea9c8a34343f8792d65b96f93ae22bd8685878 (patch)
tree9f512367b1d47ced5614702a00f3ff0a8fe746d7 /tests/test_argparse.py
parent7159734ec6c0b76fc7f3737134cd22fdaaaa7d58 (diff)
parent1032e07a50c8bb265ff9bd31b3bb00e83ddb451e (diff)
Merge branch 'release/v0.2.0'
Conflicts: README.txt
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))