neutron/neutron/tests/functional
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
..
agent Replaced assertTrue(False) with fail() 2017-06-22 19:31:00 +02:00
api Spin off context module 2017-03-06 16:25:29 +00:00
cmd Fix a bug in process_spawn binding on ports 2016-12-22 19:34:24 +00:00
common Untangle WaitTimeout class from eventlet.TimeoutError 2017-03-15 04:27:00 +00:00
db Integration of IPAllocationPool 2017-06-09 18:13:28 +00:00
pecan_wsgi use neutron-lib callbacks 2017-04-26 12:12:53 -06:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
sanity sanity check: Check that ip_nonlocal_bind works with namespaces 2016-11-18 08:36:51 -05:00
scheduler Merge "Eliminate mixin references in DVRResourceOperationHandler" 2017-05-16 17:36:23 +00:00
services Fix test_dvr_gateway_host_binding_is_set 2017-06-15 00:25:35 -07:00
tests Use get_random_string from neutron-lib 2016-12-18 21:18:05 +02:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Use rootwrap for fullstack test runner 2017-06-08 18:42:47 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py Merge "functional: Don't write strings to pipe" 2017-06-21 01:47:13 +00:00
test_service.py Use SIGUSR1 to notify l3 agent of changing prefix file 2015-11-13 17:53:47 +03:00