neutron/neutron/tests
Viktor Varga c4d65601ed Replaced assertTrue(False) with fail()
In some unit and functional tests self.assertTrue(False) was used
instead of self.fail(), which might be against readability.

Using assertTrue(False) gives the following message on fail:

  File "C:\Python361\lib\unittest\case.py", line 678, in assertTrue
    raise self.failureException(msg)
    AssertionError: False is not true

After replacing assertTrue(False) with fail():

  File "C:\Python361\lib\unittest\case.py", line 666, in fail
    raise self.failureException(msg)
    AssertionError: None

Although the results are the same (both tests failed), the
message 'False is not true' is unnecessary, and can be omitted
from the log by using fail().

Change-Id: I81e21040fd6a2f9713889912fafd2b19bd056b5a
2017-06-22 19:31:00 +02:00
..
common Merge "net_helpers: Set process streams to text mode" 2017-06-16 04:33:10 +00:00
contrib functional: Add support for python35 flavor 2017-06-15 13:57:30 +00:00
etc Stop extension warnings in UTs 2017-04-20 10:03:26 +00:00
fullstack Add support for ingress bandwidth limit rules in ovs agent 2017-06-14 11:11:43 +00:00
functional Replaced assertTrue(False) with fail() 2017-06-22 19:31:00 +02:00
tempest Fix some tempest deprecation warnings 2017-06-21 15:46:30 +00:00
unit Replaced assertTrue(False) with fail() 2017-06-22 19:31:00 +02:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Use rootwrap for fullstack test runner 2017-06-08 18:42:47 +00:00
fake_notifier.py
post_mortem_debug.py
tools.py [log]: db models and migration rules 2017-06-13 08:52:12 +07:00