Merge "Improve snapshot data integrity test"
diff --git a/.zuul.yaml b/.zuul.yaml
index 4b61254..528ca0b 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -116,6 +116,9 @@
This is a base job for lvm with lio & tgt targets
branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
parent: cinder-tempest-plugin-lvm-barbican-base-abstract
+ required-projects:
+ - name: opendev.org/openstack/cinder-tempest-plugin
+ override-checkout: stein-last
vars:
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-blacklist.txt'
diff --git a/cinder_tempest_plugin/api/volume/test_volume_revert.py b/cinder_tempest_plugin/api/volume/test_volume_revert.py
index 7c5eed1..bf3d806 100644
--- a/cinder_tempest_plugin/api/volume/test_volume_revert.py
+++ b/cinder_tempest_plugin/api/volume/test_volume_revert.py
@@ -80,4 +80,4 @@
# Destination volume smaller than source, API should block that
self.assertRaises(exceptions.BadRequest,
self.volume_revert_client.revert_to_snapshot,
- self.volume, self.snapshot)
+ self.volume, self.snapshot['id'])
diff --git a/tox.ini b/tox.ini
index e1eb31f..c9c91ad 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 3.1.0
+minversion = 3.18.0
envlist = pep8
skipsdist = True
# this allows tox to infer the base python from the environment name