1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets
Adrian Likins 0a1f391881 Fix fact gathering intg test asserts (#18168)
If the facts returned by setup included strings that
had double quotes in them, the asserts in test_gathering_facts.yml
would fail with errors like:

    "The conditional check '\"[{u'mounts': {u'options':
    u'rw,context=\"system_u:\"'}}]\" != \"UNDEF_HW\"' failed. The error was:
    template error while templating string: expected token 'end of statement
    block', got 'system_u'. String: {% if \"[{u'mounts': {u'options':
    u'rw,context=\"system_u:\"'}}]\" != \"UNDEF_HW\" %} True {% else %}
    False {% endif %}"

For one example, if mount facts returned an 'options' field that
included double quoated selinux context ids, the test would fail.

Fix is removing the double quoting in the assert 'that:' lines,
and removing the unneeded double curly brackets.
2016-10-26 11:21:19 -04:00
..
add_host/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
apache2_module Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
apt Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
apt_repository Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
args
assemble Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
async Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
async_extra_data
authorized_key Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
become Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
binary Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
binary_modules
binary_modules_posix
binary_modules_winrm
blocks
changed_when Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
check_mode
command_shell Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
conditionals Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
connection
connection_chroot
connection_docker
connection_jail
connection_libvirt_lxc
connection_local
connection_lxc
connection_lxd
connection_paramiko_ssh
connection_posix
connection_ssh
connection_winrm
copy Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
delegate_to
docker Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
embedded_module Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
environment
facts_d Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
failed_when/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fetch Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
file Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
filters Fix test_filters fail because of dict sort (#18105) 2016-10-19 16:11:09 -04:00
gathering_facts Fix fact gathering intg test asserts (#18168) 2016-10-26 11:21:19 -04:00
gem Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
get_url Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
git Pixelrebel amc pr2654 (#18089) 2016-10-19 08:41:05 -07:00
group_by
handlers tests: check that handlers are able to use 'include' 2016-10-21 20:17:42 +02:00
hash
hg Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
hosts_field
ignore_errors Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
include_vars Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
includes
iterators Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
lineinfile Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
lookup_paths
lookup_properties
lookups Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
loops/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
mount/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
mysql_db Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
mysql_user Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
mysql_variables Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
no_log
parsing
ping/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
pip Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
postgresql Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
prepare_http_tests Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
prepare_tests/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
prepare_win_tests Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
pull_limit_inventory
pull_no_127
pull_run
script Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
service Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
setup_mysql_db Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
setup_postgresql_db Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
special_vars Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
stat Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
subversion Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
synchronize Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
tags
task_ordering/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
template Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
templating_settings
test_infra
unarchive Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
unicode
until/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
uri Fix the uri testserver to run on python3 2016-10-24 06:50:06 -07:00
var_blending
var_precedence
vault
win_async_wrapper reenable win_async loop test 2016-10-24 00:00:24 -07:00
win_command/tasks add large interleaved stdout/stderr integration tests for win_shell/win_command 2016-10-25 17:23:24 -07:00
win_copy Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_feature Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_fetch/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_file Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_get_url Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_group Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_lineinfile Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_msi Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_package Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_ping Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_raw/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_regedit Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_regmerge Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_script Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_service Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_setup/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_shell/tasks add large interleaved stdout/stderr integration tests for win_shell/win_command 2016-10-25 17:23:24 -07:00
win_slurp/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_stat/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_template Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_user Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
yum Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
zypper Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
zypper_repository Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00