From 082c5ee1ce1ef95bb35d16fc5ede3128086008f7 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 9 Feb 2016 09:33:25 +0530 Subject: [PATCH] networks: Minor trimming to tests - To focus only on what is being tested. --- plinth/tests/test_network.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plinth/tests/test_network.py b/plinth/tests/test_network.py index c74504072..63fb93b2e 100644 --- a/plinth/tests/test_network.py +++ b/plinth/tests/test_network.py @@ -207,9 +207,6 @@ class TestNetwork(unittest.TestCase): """Check that we can manually set IPv4 address on ethernet.""" connection = network.get_connection(self.ethernet_uuid) ethernet_settings2 = copy.deepcopy(ethernet_settings) - ethernet_settings2['common']['name'] = 'plinth_test_eth_new' - ethernet_settings2['common']['interface'] = 'eth0' - ethernet_settings2['common']['zone'] = 'external' ethernet_settings2['ipv4']['method'] = 'manual' ethernet_settings2['ipv4']['address'] = '169.254.0.1' ethernet_settings2['ipv4']['netmask'] = '255.255.254.0' @@ -235,9 +232,6 @@ class TestNetwork(unittest.TestCase): """Check that we can manually set IPv4 address on wifi.""" connection = network.get_connection(self.wifi_uuid) wifi_settings2 = copy.deepcopy(wifi_settings) - wifi_settings2['common']['name'] = 'plinth_test_wifi_new' - wifi_settings2['common']['interface'] = 'wlan0' - wifi_settings2['common']['zone'] = 'external' wifi_settings2['ipv4']['method'] = 'manual' wifi_settings2['ipv4']['address'] = '169.254.0.2' wifi_settings2['ipv4']['netmask'] = '255.255.254.0'