path: root/tests/py/ip/sets.t
diff options
authorPablo Neira Ayuso <>2016-04-27 14:34:52 +0200
committerPablo Neira Ayuso <>2016-04-27 15:04:30 +0200
commit98ce06f8b546eacb654bb8738eac4383f43fabbf (patch)
treefc016f0cd75b7a6dbc8ef1bc30ef9a6ce56e050a /tests/py/ip/sets.t
parent61ce4b3e4f1a1e39004e51d8bb138f8b118b353a (diff)
tests/py: explicitly indication of set type and flags from test definitions
This patch adds explicit set type in test definitions, as well as flags. This has triggered a rework that starts by introducing a Set class to make this whole code more extensible and maintainable. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests/py/ip/sets.t')
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/py/ip/sets.t b/tests/py/ip/sets.t
index db50b00b..2b4e7e1b 100644
--- a/tests/py/ip/sets.t
+++ b/tests/py/ip/sets.t
@@ -5,12 +5,12 @@
-!set_ipv4_add ipv4_addr;ok
-!set_inet inet_proto;ok
-!set_inet_serv inet_service;ok
-!set_time time;ok
+!w type ipv4_addr;ok
+!x type inet_proto;ok
+!y type inet_service;ok
+!z type time;ok
-!set1 ipv4_addr;ok
+!set1 type ipv4_addr;ok
@@ -21,7 +21,7 @@
?set1 1234:1234:1234:1234:1234:1234:1234:1234;fail
-!set2 ipv4_addr;ok
+!set2 type ipv4_addr;ok