|
|
|
@ -687,14 +687,8 @@ class TestUtils(unittest.TestCase):
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# invalid quote detection
|
|
|
|
# invalid quote detection
|
|
|
|
try:
|
|
|
|
self.assertRaises(Exception, split_args, 'hey I started a quote"')
|
|
|
|
with self.assertRaises(Exception):
|
|
|
|
self.assertRaises(Exception, split_args, 'hey I started a\' quote')
|
|
|
|
split_args('hey I started a quote"')
|
|
|
|
|
|
|
|
with self.assertRaises(Exception):
|
|
|
|
|
|
|
|
split_args('hey I started a\' quote')
|
|
|
|
|
|
|
|
except TypeError:
|
|
|
|
|
|
|
|
# you must be on Python 2.6 still, FIXME
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# jinja2 loop blocks with lots of complexity
|
|
|
|
# jinja2 loop blocks with lots of complexity
|
|
|
|
_test_combo(
|
|
|
|
_test_combo(
|
|
|
|
|