ceph/qa/tasks
Tatjana Dehler 7015c2a82b mgr/dashboard: fix REST API test cases
1. Fix the test cases by using the 'assertJsonBody'
   method. The '_post' method doesn't return anything.
   That's why we need to use the 'assertJsonBody'
   method here instead of checking the fields directly.

2. Add the missing scope and permission definition of the
   'validate_password' resource. Otherwise the resource
   is not restricted and 'test_validate_password_invalid_permissions'
   will fail.

3. Re-word error messages. Change 'cannot' to 'must not'.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-01-02 10:49:37 +01:00
..
cephfs Merge pull request #32222 from toabctl/qa-flake8-py3 2019-12-24 10:47:07 +08:00
mgr mgr/dashboard: fix REST API test cases 2020-01-02 10:49:37 +01:00
tests
util qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
__init__.py
admin_socket.py
autotest.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
aver.py
barbican.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
blktrace.py
boto.cfg.template
cbt.py qa/tasks/cbt: include py2 deps on ubuntu for now 2019-12-20 07:17:10 -06:00
ceph_client.py
ceph_deploy.py
ceph_fuse.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
ceph_manager.py Merge pull request #32222 from toabctl/qa-flake8-py3 2019-12-24 10:47:07 +08:00
ceph_objectstore_tool.py
ceph_test_case.py qa: note timeout in debug message 2019-12-16 15:59:25 -08:00
ceph.conf.template osd/OSDMap: Show health warning if a pool is configured with size 1 2019-11-11 10:36:35 +05:30
ceph.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
cephadm.conf qa/tasks/ceph2 -> cephadm 2019-12-11 19:14:24 -06:00
cephadm.py Merge PR #32377 into master 2019-12-23 17:54:30 -06:00
cephfs_test_runner.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
cephfs_upgrade_snap.py
check_counter.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
cifs_mount.py
cram.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
create_verify_lfn_objects.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
daemonwatchdog.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
devstack.py
die_on_err.py
divergent_priors2.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
divergent_priors.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
dnsmasq.py
dump_stuck.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
ec_lost_unfound.py
exec_on_cleanup.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
filestore_idempotent.py
fs.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
kclient.py
keystone.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
locktest.py
logrotate.conf
lost_unfound.py
manypools.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
mds_creation_failure.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
mds_pre_upgrade.py
mds_thrash.py qa/tasks: Fixed AttributeError: can't set attribute 2019-11-27 08:30:58 +05:30
metadata.yaml
mon_clock_skew_check.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
mon_recovery.py
mon_thrash.py qa/tasks: Fixed AttributeError: can't set attribute 2019-11-27 08:30:58 +05:30
multibench.py
netem.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
object_source_down.py
omapbench.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
openssl_keys.py
osd_backfill.py
osd_failsafe_enospc.py
osd_max_pg_per_osd.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
osd_recovery.py
peer.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
peering_speed_test.py
populate_rbd_pool.py
qemu.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
rados.py Merge pull request #32222 from toabctl/qa-flake8-py3 2019-12-24 10:47:07 +08:00
radosbench.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
radosbenchsweep.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
radosgw_admin_rest.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
radosgw_admin.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
ragweed.py Merge pull request #32222 from toabctl/qa-flake8-py3 2019-12-24 10:47:07 +08:00
rbd_fio.py qa/tasks/rbd_fio: fio 2.21 -> 3.16 2019-12-16 17:03:06 -06:00
rbd_fsx.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
rbd_mirror_thrash.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
rbd_mirror.py
rbd.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
rebuild_mondb.py
reg11184.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
rep_lost_unfound_delete.py
repair_test.py
resolve_stuck_peering.py
restart.py
rgw_logsocket.py
rgw_multi
rgw_multisite_tests.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
rgw_multisite.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
rgw.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
s3a_hadoop.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
s3readwrite.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
s3roundtrip.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
s3tests_java.py qa/tasks/s3tests_java: move to gradle 6.0.1 2019-12-18 17:04:20 -06:00
s3tests.py Merge pull request #32222 from toabctl/qa-flake8-py3 2019-12-24 10:47:07 +08:00
samba.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
scrub_test.py
scrub.py
systemd.py
tempest.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
teuthology_integration.py
tgt.py
thrash_pool_snaps.py
thrasher.py qa/tasks: Fixed AttributeError: can't set attribute 2019-11-27 08:30:58 +05:30
thrashosds-health.yaml
thrashosds.py qa/tasks: drop/update name from Thrasher 2019-11-27 08:27:04 +05:30
tox.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
userdata_setup.yaml
userdata_teardown.yaml
vault.py rgw: improvements to SSE-KMS with Vault 2019-11-28 09:19:39 +00:00
vstart_runner.py qa/tasks/vstart_runner: write string to StringIO 2019-12-28 01:11:54 +08:00
watch_notify_same_primary.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
watch_notify_stress.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00
workunit.py qa: Run flake8 on python2 and python3 2019-12-13 09:24:20 +01:00