From 020de7cebc774cdb6518ddc9070b5a5309da9a0a Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya <vishvananda@gmail.com> Date: Fri, 11 Jan 2013 14:56:23 -0800 Subject: [PATCH] Fix a couple of broken shell tests Pyflakes picked up a couple of duplicated names. Rename the one that is correct and delete the incorrect one. Change-Id: Id4af1269a030be5a725bbbbcf3400341b09fddc3 --- tests/v1_1/test_shell.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/v1_1/test_shell.py b/tests/v1_1/test_shell.py index de85a3e57..9057748b3 100644 --- a/tests/v1_1/test_shell.py +++ b/tests/v1_1/test_shell.py @@ -748,17 +748,11 @@ class ShellTest(utils.TestCase): body = {'disassociate_host': None} self.assert_called('POST', '/os-networks/2/action', body) - def test_network_disassociate(self): + def test_network_disassociate_project(self): self.run_command('network-disassociate --project-only 1 2') body = {'disassociate_project': None} self.assert_called('POST', '/os-networks/2/action', body) - def test_network_create_v4(self): - self.run_command('network-create --fixed-range-v4 10.0.1.0/24 \ - new_network') - body = {'cidr': '10.0.1.0/24', 'label': 'new_network'} - self.assert_called('POST', '/os-networks', body) - def test_network_create_v4(self): self.run_command('network-create --fixed-range-v4 10.0.1.0/24 \ --dns1 10.0.1.254 new_network')