[rhel7-branch 1/1] Fix broken test by infiniband patch (#1177032)

jkonecny12 installerbot-noreply at redhat.com
Fri Jul 3 08:30:45 UTC 2015


From: Jiri Konecny <jkonecny at redhat.com>

In the first patch I changed a method which broke network_test
in pyanaconda_tests.

Related: rhbz#1177032
---
 tests/pyanaconda_tests/network_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/pyanaconda_tests/network_test.py b/tests/pyanaconda_tests/network_test.py
index 7822a1f..72628a8 100644
--- a/tests/pyanaconda_tests/network_test.py
+++ b/tests/pyanaconda_tests/network_test.py
@@ -126,7 +126,7 @@ def prefix2netmask2prefix_test(self):
 
     @patch("pyanaconda.network.flags.cmdline",
            {"BOOTIF":"01-11-11-11-11-11-11"})
-    @patch("pyanaconda.nm.nm_device_perm_hwaddress")
+    @patch("pyanaconda.nm.nm_device_valid_hwaddress")
     @patch("pyanaconda.nm.nm_device_carrier",
             lambda dev: dev == "eth1")
     @patch("pyanaconda.nm.nm_devices",


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/32ead0e5232f37aced7569d0e7a3545e67a7dfbf


More information about the anaconda-patches mailing list