commit | 97e2cca1d19f34af72147ef5857219052f1e2e47 | [log] [tgz] |
---|---|---|
author | David Kranz <dkranz@redhat.com> | Fri Oct 25 14:55:20 2013 -0400 |
committer | David Kranz <dkranz@redhat.com> | Fri Oct 25 14:59:52 2013 -0400 |
tree | 190b3496bce811edfbb3e197701ebf7c22f63341 | |
parent | 9c81c9ffb9fa7616154ba424450f4008090c3c99 [diff] |
Replace assertLessEqual - is not in py26 testtools Fixes bug 1233513. Change-Id: I22ba767739aa79fd6fdf75167b2573a27625e6d1
diff --git a/tempest/api/object_storage/test_account_services.py b/tempest/api/object_storage/test_account_services.py index 1a3f775..90b0914 100644 --- a/tempest/api/object_storage/test_account_services.py +++ b/tempest/api/object_storage/test_account_services.py
@@ -101,7 +101,7 @@ 'limit': limit} resp, container_list = \ self.account_client.list_account_containers(params=params) - self.assertLessEqual(len(container_list), limit) + self.assertTrue(len(container_list) <= limit, str(container_list)) @attr(type='smoke') def test_list_account_metadata(self):