test-network: drop unused variable

This commit is contained in:
Yu Watanabe 2019-02-11 21:29:00 +09:00
parent 89b9a97573
commit 3b51bbe135

View file

@ -86,8 +86,6 @@ def tearDownModule():
subprocess.check_call('systemctl start systemd-networkd.service', shell=True)
class Utilities():
dhcp_server_data = []
def read_link_attr(self, link, dev, attribute):
with open(os.path.join(os.path.join(os.path.join('/sys/class/net/', link), dev), attribute)) as f:
return f.readline().strip()