mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add unit tests
This commit is contained in:
parent
84437855c9
commit
d6bd52ad59
1 changed files with 3 additions and 0 deletions
|
@ -91,6 +91,9 @@ SPLIT_DATA = (
|
||||||
(u'a={{ foo | some_filter(\' \', " ") }} b=bar',
|
(u'a={{ foo | some_filter(\' \', " ") }} b=bar',
|
||||||
[u'a={{ foo | some_filter(\' \', " ") }}', u'b=bar'],
|
[u'a={{ foo | some_filter(\' \', " ") }}', u'b=bar'],
|
||||||
{u'a': u'{{ foo | some_filter(\' \', " ") }}', u'b': u'bar'}),
|
{u'a': u'{{ foo | some_filter(\' \', " ") }}', u'b': u'bar'}),
|
||||||
|
(u'One\n Two\n Three\n',
|
||||||
|
[u'One\n ', u'Two\n ', u'Three\n'],
|
||||||
|
{u'_raw_params': u'One\n Two\n Three\n'}),
|
||||||
)
|
)
|
||||||
|
|
||||||
SPLIT_ARGS = ((test[0], test[1]) for test in SPLIT_DATA)
|
SPLIT_ARGS = ((test[0], test[1]) for test in SPLIT_DATA)
|
||||||
|
|
Loading…
Reference in a new issue