From 1c2110cd019e1ebf74bccd8888f3194c8c5194dc Mon Sep 17 00:00:00 2001 From: Yuichi Ito Date: Fri, 27 Sep 2013 17:49:03 +0900 Subject: [PATCH] packet lib: dhcp: remove unnecessary import Signed-off-by: itoyuichi Signed-off-by: FUJITA Tomonori --- ryu/lib/packet/dhcp.py | 1 - ryu/tests/unit/packet/test_dhcp.py | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ryu/lib/packet/dhcp.py b/ryu/lib/packet/dhcp.py index 7bc03e07..3b2b97b1 100644 --- a/ryu/lib/packet/dhcp.py +++ b/ryu/lib/packet/dhcp.py @@ -54,7 +54,6 @@ DHCP packet format """ import binascii import random -import socket import struct from . import packet_base diff --git a/ryu/tests/unit/packet/test_dhcp.py b/ryu/tests/unit/packet/test_dhcp.py index 84044c40..10c2330d 100644 --- a/ryu/tests/unit/packet/test_dhcp.py +++ b/ryu/tests/unit/packet/test_dhcp.py @@ -16,13 +16,9 @@ import inspect import logging -import socket import struct import unittest -from nose.tools import * -from nose.plugins.skip import Skip, SkipTest -from ryu.lib import ip -from ryu.lib import mac +from nose.tools import eq_ from ryu.lib import addrconv from ryu.lib.packet import dhcp