mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 06:11:26 -07:00
Fix some copyrights, fix a misc test.
This commit is contained in:
parent
533fb21586
commit
2629cd3fce
7 changed files with 25 additions and 12 deletions
|
@ -697,10 +697,14 @@ class TestUtils(unittest.TestCase):
|
|||
)
|
||||
|
||||
# invalid quote detection
|
||||
with self.assertRaises(Exception):
|
||||
split_args('hey I started a quote"')
|
||||
with self.assertRaises(Exception):
|
||||
split_args('hey I started a\' quote')
|
||||
try:
|
||||
with self.assertRaises(Exception):
|
||||
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
|
||||
_test_combo(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue