diff options
author | Chris Lumens <clumens@redhat.com> | 2013-01-15 11:25:18 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2013-01-16 09:26:43 -0500 |
commit | 7c30893a75f0b84edeed950382192c9e31378520 (patch) | |
tree | a8fa5b1b10f0cd20c245f1703ab9e598143f36a1 /tests/pyanaconda_test/rescue_test.py | |
parent | 30437c31fe292db0fe6a9a0106265be31cf4deb3 (diff) | |
download | anaconda-7c30893a75f0b84edeed950382192c9e31378520.tar.gz anaconda-7c30893a75f0b84edeed950382192c9e31378520.tar.xz anaconda-7c30893a75f0b84edeed950382192c9e31378520.zip |
Remove the old text mode UI.
I've had to leave pieces of text.py around, though, because it's used by
rescue mode and we're not changing it quite yet.
Diffstat (limited to 'tests/pyanaconda_test/rescue_test.py')
-rw-r--r-- | tests/pyanaconda_test/rescue_test.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/pyanaconda_test/rescue_test.py b/tests/pyanaconda_test/rescue_test.py index b369d3eda..b93f75ebe 100644 --- a/tests/pyanaconda_test/rescue_test.py +++ b/tests/pyanaconda_test/rescue_test.py @@ -112,34 +112,6 @@ class RescueTest(mock.TestCase): ret = ri.enableNetwork(anaconda) self.assertFalse(ret) - def rescueinterface_enablenetwork_2_test(self): - import pyanaconda.rescue - import pyanaconda.textw.netconfig_text - pyanaconda.rescue.INSTALL_BACK = -1 - pyanaconda.textw.netconfig_text.NetworkConfiguratorText = mock.Mock() - pyanaconda.textw.netconfig_text.NetworkConfiguratorText().run.return_value =\ - "foo" - anaconda = mock.Mock() - anaconda.network.netdevices = {'foo': 'as'} - - ri = pyanaconda.rescue.RescueInterface() - ret = ri.enableNetwork(anaconda) - self.assertTrue(ret) - - def rescueinterface_enablenetwork_3_test(self): - import pyanaconda.rescue - import pyanaconda.textw.netconfig_text - pyanaconda.rescue.INSTALL_BACK = "foo" - pyanaconda.textw.netconfig_text.NetworkConfiguratorText = mock.Mock() - pyanaconda.textw.netconfig_text.NetworkConfiguratorText().run.return_value =\ - pyanaconda.rescue.INSTALL_BACK - anaconda = mock.Mock() - anaconda.network.netdevices = {'bar': 'asdf'} - - ri = pyanaconda.rescue.RescueInterface() - ret = ri.enableNetwork(anaconda) - self.assertFalse(ret) - def rescueinterface_passphraseentrywindow_test(self): import pyanaconda.rescue RET = ('secret', False) |