diff options
author | Tim Rozet <trozet@redhat.com> | 2016-06-13 16:22:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-06-13 16:22:56 +0000 |
commit | 5e590a06ad0d3d859b865e2cc2428cb6be679099 (patch) | |
tree | 0d935d2310e8a0d80dda37b2f75d8b44ab561ad0 /tests/python_coverage_ip_utils.py | |
parent | f54ff500424eaf4301dd221a82cb62034c8ed7d9 (diff) | |
parent | 24171d4b3b3a94a64b34c8f70e90b4ae5a97ef92 (diff) |
Merge "converting apex ip_utils unit tests to nose"
Diffstat (limited to 'tests/python_coverage_ip_utils.py')
-rw-r--r-- | tests/python_coverage_ip_utils.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/python_coverage_ip_utils.py b/tests/python_coverage_ip_utils.py deleted file mode 100644 index 35280c18..00000000 --- a/tests/python_coverage_ip_utils.py +++ /dev/null @@ -1,25 +0,0 @@ -import sys -from apex import ip_utils - -iface = ip_utils.get_interface(sys.argv[1]) - -erroring_tests = ( - "ip_utils.get_interface('')", - "ip_utils.get_interface('lo', address_family=0)", - "ip_utils.get_interface('lo', address_family=6)", - "ip_utils.get_interface('lo')", - "ip_utils.get_ip_range()", - "ip_utils.get_ip_range(interface=iface)") - -for t in erroring_tests: - try: - eval(t) - except: - pass - -ip_utils.find_gateway(interface=iface) -ip_utils.get_ip(1, cidr="10.10.10.0/24") -ip_utils.get_ip(1, interface=iface) -ip_utils.get_ip_range(interface=iface, start_offset=1, end_offset=20) -ip_utils.get_ip_range(interface=iface, start_offset=1, count=10) -ip_utils.get_ip_range(interface=iface, end_offset=20, count=10) |