|
@@ -108,7 +108,7 @@ class OptionTests(unittest.TestCase):
|
|
|
long=False,
|
|
|
short=":",
|
|
|
)
|
|
|
-
|
|
|
+
|
|
|
def test_add_flag_not_None_long_endswith_equal(self):
|
|
|
cls = self._getTargetClass()
|
|
|
inst = cls()
|
|
@@ -119,7 +119,7 @@ class OptionTests(unittest.TestCase):
|
|
|
long='=',
|
|
|
short=False,
|
|
|
)
|
|
|
-
|
|
|
+
|
|
|
def test_add_inconsistent_short_long_options(self):
|
|
|
cls = self._getTargetClass()
|
|
|
inst = cls()
|
|
@@ -129,7 +129,7 @@ class OptionTests(unittest.TestCase):
|
|
|
long='=',
|
|
|
short='abc',
|
|
|
)
|
|
|
-
|
|
|
+
|
|
|
def test_add_short_option_startswith_dash(self):
|
|
|
cls = self._getTargetClass()
|
|
|
inst = cls()
|
|
@@ -181,7 +181,7 @@ class OptionTests(unittest.TestCase):
|
|
|
long='abc',
|
|
|
short=False,
|
|
|
)
|
|
|
-
|
|
|
+
|
|
|
def test_searchpaths(self):
|
|
|
options = self._makeOptions()
|
|
|
self.assertEqual(len(options.searchpaths), 5)
|