neutron/neutron/tests/unit/hacking
Nguyen Phuong An 9afb9ca598 Prevent use filter(lambda obj: test(obj), data)
In Python3 [1], if we need filter on python3, replace
filter(lambda obj: test(obj), data) with:
[obj for obj in data if test(obj)]. This patch replaces
filter function and introduces a hacking rule to prevent
using filter in future.

[1] https://wiki.openstack.org/wiki/Python3

Change-Id: I83d22108c02f8da007a7233e71a4a7fb833170ec
2016-09-14 16:23:32 +07:00
..
__init__.py Moved hacking unit test into proper location 2015-02-11 14:06:37 +01:00
test_checks.py Prevent use filter(lambda obj: test(obj), data) 2016-09-14 16:23:32 +07:00