Merge "Remove call_until_true from test module"
This commit is contained in:
commit
f2088f3b7b
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
upgrade:
|
||||
- The *call_until_true* of *test* module is removed because it was marked
|
||||
as deprecated and Tempest provides it from *test_utils* as a stable
|
||||
interface instead. Please switch to use *test_utils.call_until_true* if
|
||||
necessary.
|
|
@ -31,7 +31,6 @@ import tempest.common.validation_resources as vresources
|
|||
from tempest import config
|
||||
from tempest import exceptions
|
||||
from tempest.lib.common import cred_client
|
||||
from tempest.lib.common.utils import test_utils
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions as lib_exc
|
||||
|
||||
|
@ -648,8 +647,3 @@ class BaseTestCase(testtools.testcase.WithAttributes,
|
|||
|
||||
def assertNotEmpty(self, list, msg=None):
|
||||
self.assertGreater(len(list), 0, msg)
|
||||
|
||||
|
||||
call_until_true = debtcollector.moves.moved_function(
|
||||
test_utils.call_until_true, 'call_until_true', __name__,
|
||||
version='Newton', removal_version='Ocata')
|
||||
|
|
Loading…
Reference in New Issue