summaryrefslogtreecommitdiffstats
path: root/test/util.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-01-17 10:37:05 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-17 18:35:21 +0000
commit72715ee4e2bba6fd4ce5c077bca68bb08ac729a0 (patch)
tree0d12a2ab578ec74b4f76bd6e407f948b46a4628c /test/util.py
parent46f133d522b0f247f3b395ad39a12f6898cb67eb (diff)
make test: add checkstyle target
Change-Id: I59d3c3bc77474c96e1d6fa51811c1b13fb9a6c5b Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/util.py')
-rw-r--r--test/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/util.py b/test/util.py
index ae887a54543..7989360216a 100644
--- a/test/util.py
+++ b/test/util.py
@@ -41,7 +41,8 @@ def ip4_range(ip4, s, e):
def ip4n_range(ip4n, s, e):
ip4 = socket.inet_ntop(socket.AF_INET, ip4n)
- return (socket.inet_pton(socket.AF_INET, ip) for ip in ip4_range(ip4, s, e))
+ return (socket.inet_pton(socket.AF_INET, ip)
+ for ip in ip4_range(ip4, s, e))
class NumericConstant(object):