tempest/tempest/api/compute/limits
Masayuki Igawa f9009b4869 Use assert(Not)Empty,IsNotNone instead of assert(Not)Equal,GreaterEqual(0, len(..
This commit makes to use assert(Not)Empty() or assertIsNotNone() instead
of assert(Not)Equal(0, len(LIST),..) or assertGreaterEqual(0, len()...).
The original code asserts the specified list is empty or not. And we
already have assert(Not)Empty() for it. The method names
"assert(Not)Empty" are straightforward and easy to understand. It makes
the code clean and the assert message could be easier to understand what
is happen than original ones.

Change-Id: I715ec84d9139b1d196275e91212ab40d52a545e1
2017-06-05 23:43:53 +01:00
..
__init__.py rename tests -> api 2013-05-20 17:20:54 -04:00
test_absolute_limits.py Use assert(Not)Empty,IsNotNone instead of assert(Not)Equal,GreaterEqual(0, len(.. 2017-06-05 23:43:53 +01:00
test_absolute_limits_negative.py Move the `attr` decorator from test.py to tempest/lib 2017-04-14 11:16:36 +02:00