From 0e937f164f587e017c01278862778fc78c581b7d Mon Sep 17 00:00:00 2001 From: kali Date: Mon, 23 Jul 2012 10:15:00 -0700 Subject: fix old naming for test --- tests/test_argparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_argparse.py') diff --git a/tests/test_argparse.py b/tests/test_argparse.py index 0f2b08a5..a8ce5091 100644 --- a/tests/test_argparse.py +++ b/tests/test_argparse.py @@ -4,7 +4,7 @@ import unittest from eip_client.utils import eip_argparse -class EIPArgParseTest(unittest.TestCase): +class LeapArgParseTest(unittest.TestCase): """ Test argparse options for eip client """ -- cgit v1.2.3 From 81e0e2bc82757425bebfb659e6c2cb873bc88ec9 Mon Sep 17 00:00:00 2001 From: kali Date: Wed, 8 Aug 2012 17:33:47 +0900 Subject: reset tests + run_tests script + very simple first test. --- tests/test_argparse.py | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 tests/test_argparse.py (limited to 'tests/test_argparse.py') 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)) -- cgit v1.2.3