fix reversed assignment

This commit is contained in:
Vishvananda Ishaya 2011-01-22 17:46:05 -08:00
parent 1fc00fd386
commit fb4638f1cb

View File

@ -95,7 +95,7 @@ class CloudTestCase(test.TestCase):
FLAGS.region_list = ["one=test_host1", "two=test_host2"]
result = self.cloud.describe_regions(self.context)
self.assertEqual(len(result['regionInfo']), 2)
regions = FLAGS.region_list
FLAGS.region_list = regions
def test_describe_addresses(self):
"""Makes sure describe addresses runs without raising an exception"""