summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2020-11-16 11:11:21 +0000
committerArtem Goncharov <Artem.goncharov@gmail.com>2020-11-16 15:54:27 +0100
commitebaf0eae2c60bf000a0af53a8d5f5c54d32fc311 (patch)
tree57592e312a698120ef3d27056ca638518c570233 /openstackclient/tests/unit
parente2bd1530cf1fc5a84af4dc88829f3c73cdf694f2 (diff)
downloadpython-openstackclient-ebaf0eae2c60bf000a0af53a8d5f5c54d32fc311.tar.gz
tests: Remove 'agent' functional tests
The 'os-agents' API was recently removed from nova [1]. Remove the functional tests, since they will always fail going forward but will continue to run on older stable branches. Also Squeeze https://review.opendev.org/#/c/762559/ inside, since those 2 are simultaneously blocking gate [1] https://review.opendev.org/#/c/749309/ Change-Id: I0bf7d4c0ba2a9d4637db0d209d8d52163d772f12 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/tests/unit')
-rw-r--r--openstackclient/tests/unit/volume/v2/test_volume_backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/unit/volume/v2/test_volume_backend.py b/openstackclient/tests/unit/volume/v2/test_volume_backend.py
index db188660..d9ac2c96 100644
--- a/openstackclient/tests/unit/volume/v2/test_volume_backend.py
+++ b/openstackclient/tests/unit/volume/v2/test_volume_backend.py
@@ -65,7 +65,7 @@ class TestShowVolumeCapability(volume_fakes.TestVolume):
# confirming if all expected values are present in the result.
for cap in data:
- self.assertTrue(cap[0] in capabilities)
+ self.assertIn(cap[0], capabilities)
# checking if proper call was made to get capabilities
self.capability_mock.get.assert_called_with(