Ganesh Murthy created DISPATCH-1834:
---------------------------------------
Summary: Fix the python-checker errors
Key: DISPATCH-1834
URL: https://issues.apache.org/jira/browse/DISPATCH-1834
Project: Qpid Dispatch
Issue Type: Test
Components: Tests
Reporter: Ganesh Murthy
{noformat}
69: Test command: /usr/local/bin/tox
69: Test timeout computed to be: 600
69: py27 create: /foo/qpid-dispatch/build/tests/.tox/py27
69: py27 installdeps: hacking>=1.1.0
69: WARNING: Discarding $PYTHONPATH from environment, to override specify
PYTHONPATH in 'passenv' in your configuration.
69: py27 installed: DEPRECATION: Python 2.7 reached the end of its life on
January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer
maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More
details about Python 2 support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip
21.0 will remove support for this
functionality.,configparser==4.0.2,contextlib2==0.6.0.post1,enum34==1.1.10,flake8==3.8.4,functools32==3.2.3.post2,hacking==2.0.0,importlib-metadata==2.0.0,mccabe==0.6.1,pathlib2==2.3.5,pycodestyle==2.6.0,pyflakes==2.2.0,qpid-dispatch===1.15.0-SNAPSHOT,scandir==1.10.0,six==1.15.0,typing==3.7.4.3,zipp==1.2.0
69: py27 run-test-pre: PYTHONHASHSEED='3623876466'
69: py27 run-test: commands[0] | flake8 --count --show-source
/foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs
/foo/qpid-dispatch/tests /foo/qpid-dispatch/tools
/foo/qpid-dispatch/tools/qdstat /foo/qpid-dispatch/tools/qdmanage
--ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,E741,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
69: 0
69: py35 create: /foo/qpid-dispatch/build/tests/.tox/py35
69: py35 installdeps: hacking>=1.1.0
69: WARNING: Discarding $PYTHONPATH from environment, to override specify
PYTHONPATH in 'passenv' in your configuration.
69: py35 installed: DEPRECATION: Python 3.5 reached the end of its life on
September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer
maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0
will remove support for this
functionality.,flake8==3.8.4,hacking==4.0.0,importlib-metadata==2.0.0,mccabe==0.6.1,pycodestyle==2.6.0,pyflakes==2.2.0,qpid-dispatch===1.15.0-SNAPSHOT,zipp==1.2.0
69: py35 run-test-pre: PYTHONHASHSEED='3623876466'
69: py35 run-test: commands[0] | flake8 --count --show-source
/foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs
/foo/qpid-dispatch/tests /foo/qpid-dispatch/tools
/foo/qpid-dispatch/tools/qdstat /foo/qpid-dispatch/tools/qdmanage
--ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,E741,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
69: /foo/qpid-dispatch/tests/router_policy_test.py:257:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('application connection limit' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:265:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:276:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per host' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:299:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:310:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_address_lookup.py:52:9: H211: Use
assert{Is,IsNot}instance
69: self.assertTrue(isinstance(message.properties, dict))
69: ^
69: /foo/qpid-dispatch/tests/system_tests_address_lookup.py:55:9: H211: Use
assert{Is,IsNot}instance
69: self.assertTrue(isinstance(message.body, list))
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:81:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Connections 1" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:82:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Nodes 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:83:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Auto Links 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:84:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Link Routes 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:85:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Router Id QDR" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:86:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Mode standalone" in
out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1250:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1255:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1256:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Addresses" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1257:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Connections" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1258:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("AutoLinks" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1259:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Auto Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1261:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Statistics" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1262:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1264:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Memory Pools" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1270:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("INT.A" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1271:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("inter-router" not in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1276:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1277:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Addresses" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1278:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Connections" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1279:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("AutoLinks" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1280:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Auto Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1282:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Statistics" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1283:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1285:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Memory Pools" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_exchange_bindings.py:71:21: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(k in entity)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:210:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "in"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:211:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "out"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:212:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"containerId": "QDR.A"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:219:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "in"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:220:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "out"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:221:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"containerId": "QDR.A"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:226:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(identity in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:256:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(identity in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:266:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(route in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:135:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(attr in response.attribute_names)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:142:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(attr in response.attribute_names)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:156:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(r in response.results)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:166:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(r in response.results)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_open_properties.py:277:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("openProperties" in rc)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_policy.py:945:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertFalse("PolicyError" in qdm_out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_policy.py:1063:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertFalse("222222" in qdm_out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:57:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(' max-frame-size=2048,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:59:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:91:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(" channel-max=9" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:120:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:149:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:178:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=512" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:207:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=16384" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:236:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=16384" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:243:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:277:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=512,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:284:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:334:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=16384,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:335:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' channel-max=32767,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:342:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:393:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=2048,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:394:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' channel-max=19,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:397:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" incoming-window=10," in begin_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdmanage.py:306:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('pattern' not in output[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdmanage.py:310:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('prefix' not in output[1])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:150:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:151:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Dropped Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:152:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Accepted Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:153:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Rejected Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:154:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries from Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:155:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:156:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Fallback" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:157:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Egress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:158:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Ingress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:159:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Uptime" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:163:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:164:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Dropped Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:165:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Accepted Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:166:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Rejected Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:167:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries from Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:168:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:169:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Fallback" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:170:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Egress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:171:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Ingress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:172:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Uptime" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:242:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("QDR.A" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:243:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("UTC" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:252:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("QDR.A" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:253:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("UTC" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:259:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Maximum Concurrent Connections" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:260:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Total Denials" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:264:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Maximum Concurrent Connections" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:265:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Total Denials" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:512:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:513:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowUnknownUser" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:517:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:518:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowUnknownUser" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:522:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Groups" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:523:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowAdminStatusUpdate" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:524:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup '$default'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:525:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup 'HGCrawler'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:529:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Groups" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:530:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowAdminStatusUpdate" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:531:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup '$default'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:532:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup 'HGCrawler'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:536:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:537:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("maxMessageSizeDenied" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:538:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost User Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:539:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("remote hosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:543:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:544:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("maxMessageSizeDenied" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:545:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost User Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:546:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("remote hosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_router_mesh.py:180:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("link error" in ats.error)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_sasl_plain.py:506:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(u'TLSv1' in results[0][10])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_sasl_plain.py:699:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(u'TLSv1' in results[N][10])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_ssl.py:767:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(node in self.connected_tls_sasl_routers,
69: ^
69: /foo/qpid-dispatch/tests/system_tests_two_routers.py:272:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("ERROR" not in msgs_recvd)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_two_routers.py:274:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(a[0] in msgs_recvd)
69: ^
69: 122
69: ERROR: InvocationError for command
/foo/qpid-dispatch/build/tests/.tox/py35/bin/flake8 --count --show-source
/foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs
/foo/qpid-dispatch/tests /foo/qpid-dispatch/tools
/foo/qpid-dispatch/tools/qdstat /foo/qpid-dispatch/tools/qdmanage
--ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,E741,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
(exited with code 1)
69: py36 create: /foo/qpid-dispatch/build/tests/.tox/py36
69: py36 installdeps: hacking>=1.1.0
69: WARNING: Discarding $PYTHONPATH from environment, to override specify
PYTHONPATH in 'passenv' in your configuration.
69: py36 installed:
flake8==3.8.4,hacking==4.0.0,importlib-metadata==2.0.0,mccabe==0.6.1,pycodestyle==2.6.0,pyflakes==2.2.0,qpid-dispatch===1.15.0-SNAPSHOT,zipp==3.4.0
69: py36 run-test-pre: PYTHONHASHSEED='3623876466'
69: py36 run-test: commands[0] | flake8 --count --show-source
/foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs
/foo/qpid-dispatch/tests /foo/qpid-dispatch/tools
/foo/qpid-dispatch/tools/qdstat /foo/qpid-dispatch/tools/qdmanage
--ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,E741,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
69: /foo/qpid-dispatch/tests/router_policy_test.py:257:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('application connection limit' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:265:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:276:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per host' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:299:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:310:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_address_lookup.py:52:9: H211: Use
assert{Is,IsNot}instance
69: self.assertTrue(isinstance(message.properties, dict))
69: ^
69: /foo/qpid-dispatch/tests/system_tests_address_lookup.py:55:9: H211: Use
assert{Is,IsNot}instance
69: self.assertTrue(isinstance(message.body, list))
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:81:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Connections 1" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:82:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Nodes 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:83:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Auto Links 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:84:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Link Routes 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:85:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Router Id QDR" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:86:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Mode standalone" in
out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1250:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1255:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1256:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Addresses" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1257:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Connections" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1258:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("AutoLinks" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1259:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Auto Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1261:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Statistics" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1262:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1264:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Memory Pools" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1270:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("INT.A" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1271:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("inter-router" not in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1276:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1277:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Addresses" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1278:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Connections" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1279:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("AutoLinks" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1280:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Auto Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1282:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Statistics" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1283:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1285:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Memory Pools" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_exchange_bindings.py:71:21: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(k in entity)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:210:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "in"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:211:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "out"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:212:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"containerId": "QDR.A"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:219:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "in"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:220:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "out"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:221:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"containerId": "QDR.A"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:226:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(identity in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:256:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(identity in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:266:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(route in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:135:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(attr in response.attribute_names)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:142:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(attr in response.attribute_names)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:156:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(r in response.results)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:166:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(r in response.results)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_open_properties.py:277:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("openProperties" in rc)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_policy.py:945:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertFalse("PolicyError" in qdm_out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_policy.py:1063:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertFalse("222222" in qdm_out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:57:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(' max-frame-size=2048,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:59:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:91:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(" channel-max=9" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:120:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:149:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:178:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=512" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:207:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=16384" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:236:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=16384" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:243:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:277:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=512,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:284:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:334:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=16384,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:335:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' channel-max=32767,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:342:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:393:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=2048,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:394:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' channel-max=19,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:397:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" incoming-window=10," in begin_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdmanage.py:306:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('pattern' not in output[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdmanage.py:310:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('prefix' not in output[1])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:150:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:151:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Dropped Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:152:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Accepted Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:153:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Rejected Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:154:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries from Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:155:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:156:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Fallback" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:157:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Egress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:158:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Ingress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:159:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Uptime" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:163:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:164:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Dropped Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:165:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Accepted Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:166:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Rejected Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:167:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries from Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:168:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:169:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Fallback" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:170:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Egress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:171:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Ingress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:172:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Uptime" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:242:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("QDR.A" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:243:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("UTC" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:252:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("QDR.A" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:253:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("UTC" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:259:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Maximum Concurrent Connections" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:260:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Total Denials" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:264:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Maximum Concurrent Connections" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:265:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Total Denials" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:512:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:513:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowUnknownUser" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:517:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:518:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowUnknownUser" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:522:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Groups" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:523:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowAdminStatusUpdate" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:524:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup '$default'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:525:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup 'HGCrawler'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:529:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Groups" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:530:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowAdminStatusUpdate" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:531:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup '$default'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:532:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup 'HGCrawler'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:536:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:537:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("maxMessageSizeDenied" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:538:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost User Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:539:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("remote hosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:543:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:544:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("maxMessageSizeDenied" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:545:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost User Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:546:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("remote hosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_router_mesh.py:180:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("link error" in ats.error)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_sasl_plain.py:506:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(u'TLSv1' in results[0][10])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_sasl_plain.py:699:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(u'TLSv1' in results[N][10])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_ssl.py:767:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(node in self.connected_tls_sasl_routers,
69: ^
69: /foo/qpid-dispatch/tests/system_tests_two_routers.py:272:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("ERROR" not in msgs_recvd)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_two_routers.py:274:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(a[0] in msgs_recvd)
69: ^
69: 122
69: ERROR: InvocationError for command
/foo/qpid-dispatch/build/tests/.tox/py36/bin/flake8 --count --show-source
/foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs
/foo/qpid-dispatch/tests /foo/qpid-dispatch/tools
/foo/qpid-dispatch/tools/qdstat /foo/qpid-dispatch/tools/qdmanage
--ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,E741,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
(exited with code 1)
69: py37 create: /foo/qpid-dispatch/build/tests/.tox/py37
69: py37 installdeps: hacking>=1.1.0
69: WARNING: Discarding $PYTHONPATH from environment, to override specify
PYTHONPATH in 'passenv' in your configuration.
69: py37 installed:
flake8==3.8.4,hacking==4.0.0,importlib-metadata==2.0.0,mccabe==0.6.1,pycodestyle==2.6.0,pyflakes==2.2.0,qpid-dispatch===1.15.0-SNAPSHOT,zipp==3.4.0
69: py37 run-test-pre: PYTHONHASHSEED='3623876466'
69: py37 run-test: commands[0] | flake8 --count --show-source
/foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs
/foo/qpid-dispatch/tests /foo/qpid-dispatch/tools
/foo/qpid-dispatch/tools/qdstat /foo/qpid-dispatch/tools/qdmanage
--ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,E741,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
69: /foo/qpid-dispatch/tests/router_policy_test.py:257:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('application connection limit' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:265:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:276:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per host' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:299:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:310:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_address_lookup.py:52:9: H211: Use
assert{Is,IsNot}instance
69: self.assertTrue(isinstance(message.properties, dict))
69: ^
69: /foo/qpid-dispatch/tests/system_tests_address_lookup.py:55:9: H211: Use
assert{Is,IsNot}instance
69: self.assertTrue(isinstance(message.body, list))
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:81:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Connections 1" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:82:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Nodes 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:83:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Auto Links 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:84:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Link Routes 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:85:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Router Id QDR" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:86:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Mode standalone" in
out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1250:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1255:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1256:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Addresses" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1257:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Connections" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1258:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("AutoLinks" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1259:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Auto Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1261:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Statistics" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1262:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1264:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Memory Pools" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1270:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("INT.A" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1271:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("inter-router" not in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1276:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1277:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Addresses" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1278:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Connections" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1279:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("AutoLinks" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1280:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Auto Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1282:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Statistics" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1283:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1285:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Memory Pools" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_exchange_bindings.py:71:21: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(k in entity)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:210:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "in"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:211:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "out"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:212:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"containerId": "QDR.A"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:219:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "in"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:220:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "out"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:221:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"containerId": "QDR.A"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:226:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(identity in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:256:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(identity in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:266:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(route in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:135:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(attr in response.attribute_names)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:142:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(attr in response.attribute_names)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:156:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(r in response.results)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:166:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(r in response.results)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_open_properties.py:277:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("openProperties" in rc)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_policy.py:945:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertFalse("PolicyError" in qdm_out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_policy.py:1063:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertFalse("222222" in qdm_out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:57:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(' max-frame-size=2048,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:59:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:91:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(" channel-max=9" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:120:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:149:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:178:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=512" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:207:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=16384" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:236:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=16384" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:243:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:277:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=512,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:284:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:334:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=16384,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:335:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' channel-max=32767,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:342:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:393:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=2048,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:394:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' channel-max=19,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:397:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" incoming-window=10," in begin_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdmanage.py:306:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('pattern' not in output[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdmanage.py:310:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('prefix' not in output[1])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:150:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:151:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Dropped Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:152:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Accepted Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:153:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Rejected Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:154:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries from Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:155:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:156:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Fallback" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:157:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Egress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:158:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Ingress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:159:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Uptime" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:163:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:164:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Dropped Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:165:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Accepted Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:166:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Rejected Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:167:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries from Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:168:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:169:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Fallback" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:170:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Egress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:171:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Ingress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:172:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Uptime" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:242:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("QDR.A" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:243:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("UTC" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:252:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("QDR.A" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:253:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("UTC" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:259:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Maximum Concurrent Connections" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:260:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Total Denials" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:264:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Maximum Concurrent Connections" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:265:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Total Denials" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:512:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:513:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowUnknownUser" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:517:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:518:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowUnknownUser" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:522:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Groups" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:523:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowAdminStatusUpdate" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:524:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup '$default'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:525:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup 'HGCrawler'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:529:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Groups" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:530:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowAdminStatusUpdate" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:531:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup '$default'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:532:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup 'HGCrawler'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:536:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:537:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("maxMessageSizeDenied" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:538:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost User Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:539:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("remote hosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:543:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:544:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("maxMessageSizeDenied" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:545:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost User Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:546:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("remote hosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_router_mesh.py:180:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("link error" in ats.error)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_sasl_plain.py:506:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(u'TLSv1' in results[0][10])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_sasl_plain.py:699:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(u'TLSv1' in results[N][10])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_ssl.py:767:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(node in self.connected_tls_sasl_routers,
69: ^
69: /foo/qpid-dispatch/tests/system_tests_two_routers.py:272:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("ERROR" not in msgs_recvd)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_two_routers.py:274:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(a[0] in msgs_recvd)
69: ^
69: 122
69: ERROR: InvocationError for command
/foo/qpid-dispatch/build/tests/.tox/py37/bin/flake8 --count --show-source
/foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs
/foo/qpid-dispatch/tests /foo/qpid-dispatch/tools
/foo/qpid-dispatch/tools/qdstat /foo/qpid-dispatch/tools/qdmanage
--ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,E741,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
(exited with code 1)
69: py38 create: /foo/qpid-dispatch/build/tests/.tox/py38
69: py38 installdeps: hacking>=1.1.0
69: WARNING: Discarding $PYTHONPATH from environment, to override specify
PYTHONPATH in 'passenv' in your configuration.
69: py38 installed:
flake8==3.8.4,hacking==4.0.0,mccabe==0.6.1,pycodestyle==2.6.0,pyflakes==2.2.0,qpid-dispatch===1.15.0-SNAPSHOT
69: py38 run-test-pre: PYTHONHASHSEED='3623876466'
69: py38 run-test: commands[0] | flake8 --count --show-source
/foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs
/foo/qpid-dispatch/tests /foo/qpid-dispatch/tools
/foo/qpid-dispatch/tools/qdstat /foo/qpid-dispatch/tools/qdmanage
--ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,E741,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
69: /foo/qpid-dispatch/tests/router_policy_test.py:257:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('application connection limit' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:265:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:276:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per host' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:299:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/router_policy_test.py:310:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('per user' in diags[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_address_lookup.py:52:9: H211: Use
assert{Is,IsNot}instance
69: self.assertTrue(isinstance(message.properties, dict))
69: ^
69: /foo/qpid-dispatch/tests/system_tests_address_lookup.py:55:9: H211: Use
assert{Is,IsNot}instance
69: self.assertTrue(isinstance(message.body, list))
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:81:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Connections 1" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:82:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Nodes 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:83:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Auto Links 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:84:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Link Routes 0" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:85:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Router Id QDR" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_default_distribution.py:86:9: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue("Mode standalone" in
out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1250:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1255:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1256:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Addresses" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1257:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Connections" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1258:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("AutoLinks" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1259:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Auto Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1261:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Statistics" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1262:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1264:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Memory Pools" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1270:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("INT.A" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1271:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("inter-router" not in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1276:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1277:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Addresses" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1278:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Connections" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1279:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("AutoLinks" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1280:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Auto Links" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1282:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Statistics" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1283:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Router Id EA1" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_edge_router.py:1285:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Memory Pools" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_exchange_bindings.py:71:21: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(k in entity)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:210:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "in"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:211:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "out"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:212:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"containerId": "QDR.A"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:219:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "in"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:220:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"direction": "out"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:221:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('"containerId": "QDR.A"' in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:226:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(identity in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:256:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(identity in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_link_routes.py:266:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(route in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:135:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(attr in response.attribute_names)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:142:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(attr in response.attribute_names)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:156:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(r in response.results)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_management.py:166:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(r in response.results)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_open_properties.py:277:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("openProperties" in rc)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_policy.py:945:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertFalse("PolicyError" in qdm_out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_policy.py:1063:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertFalse("222222" in qdm_out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:57:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(' max-frame-size=2048,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:59:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:91:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(" channel-max=9" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:120:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:149:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" channel-max=32767" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:178:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=512" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:207:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=16384" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:236:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" max-frame-size=16384" in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:243:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:277:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=512,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:284:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:334:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=16384,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:335:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' channel-max=32767,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:342:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(expected in begin_lines[0],
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:393:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' max-frame-size=2048,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:394:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(' channel-max=19,' in open_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_protocol_settings.py:397:13: H214:
Use assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when
checking collection contents.
69: self.assertTrue(" incoming-window=10," in begin_lines[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdmanage.py:306:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('pattern' not in output[0])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdmanage.py:310:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue('prefix' not in output[1])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:150:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:151:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Dropped Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:152:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Accepted Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:153:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Rejected Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:154:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries from Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:155:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:156:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Fallback" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:157:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Egress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:158:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Ingress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:159:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Uptime" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:163:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:164:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Dropped Presettled Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:165:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Accepted Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:166:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Rejected Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:167:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries from Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:168:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Route Container" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:169:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Deliveries to Fallback" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:170:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Egress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:171:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Ingress Count" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:172:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Uptime" in outs)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:242:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("QDR.A" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:243:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("UTC" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:252:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("QDR.A" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:253:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("UTC" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:259:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Maximum Concurrent Connections" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:260:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Total Denials" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:264:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Maximum Concurrent Connections" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:265:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Total Denials" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:512:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:513:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowUnknownUser" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:517:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:518:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowUnknownUser" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:522:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Groups" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:523:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowAdminStatusUpdate" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:524:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup '$default'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:525:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup 'HGCrawler'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:529:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Groups" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:530:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("allowAdminStatusUpdate" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:531:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup '$default'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:532:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost '$default' UserGroup 'HGCrawler'" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:536:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:537:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("maxMessageSizeDenied" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:538:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost User Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:539:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("remote hosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:543:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:544:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("maxMessageSizeDenied" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:545:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("Vhost User Stats" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_qdstat.py:546:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("remote hosts" in out)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_router_mesh.py:180:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("link error" in ats.error)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_sasl_plain.py:506:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(u'TLSv1' in results[0][10])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_sasl_plain.py:699:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(u'TLSv1' in results[N][10])
69: ^
69: /foo/qpid-dispatch/tests/system_tests_ssl.py:767:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(node in self.connected_tls_sasl_routers,
69: ^
69: /foo/qpid-dispatch/tests/system_tests_two_routers.py:272:9: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue("ERROR" not in msgs_recvd)
69: ^
69: /foo/qpid-dispatch/tests/system_tests_two_routers.py:274:13: H214: Use
assertIn/NotIn(A, B) rather than assertTrue/False(A in/not in B) when checking
collection contents.
69: self.assertTrue(a[0] in msgs_recvd)
69: ^
69: 122
69: ERROR: InvocationError for command
/foo/qpid-dispatch/build/tests/.tox/py38/bin/flake8 --count --show-source
/foo/qpid-dispatch/python /foo/qpid-dispatch/console /foo/qpid-dispatch/docs
/foo/qpid-dispatch/tests /foo/qpid-dispatch/tools
/foo/qpid-dispatch/tools/qdstat /foo/qpid-dispatch/tools/qdmanage
--ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E266,E265,E271,E272,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E702,E703,E704,E711,E712,E713,E714,E731,E722,E741,F401,F403,F405,F811,F841,H101,H102,H104,H201,H202,H234,H237,H238,H301,H306,H401,H403,H404,H405,W291,W292,W293,W391,W503,W504
(exited with code 1)
69: ___________________________________ summary
____________________________________
69: py27: commands succeeded
69: ERROR: py35: commands failed
69: ERROR: py36: commands failed
69: ERROR: py37: commands failed
69: ERROR: py38: commands failed
69/70 Test #69: python-checker ....................................***Failed
Error regular expression found in output. Regex=[commands failed]106.43 sec
test 70 {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]