tests working

This commit is contained in:
Sandy Walsh 2011-08-30 07:27:37 -07:00
parent d191177bd5
commit 7f3237e143

View File

@ -312,7 +312,9 @@ class ShellTest(utils.TestCase):
)
def test_zone_add(self):
self.run_command('zone-add child_zone http://zzz frank xxx 0.0 1.0')
self.run_command('zone-add child_zone http://zzz '
'--zone_username=frank --password=xxx '
'--weight_offset=0.0 --weight_scale=1.0')
self.assert_called(
'POST', '/zones',
{'zone': {'zone_name': 'child_zone',