Ack on both of these.
On 04/01/12 22:22, dajo(a)redhat.com wrote:
@@ -178,9 +199,7 @@ class HostApiTests(unittest.TestCase):
def test_get_uuid_empty_string(self):
result = host.get_uuid('')
- result2 = host.get_uuid('filesystem')
- self.assertEqual(result.get('uuid'), result2.get('uuid'),
- "empty string UUID not the same as 'filesystem'
UUID")
+ self.assertEqual("invalid-lifetime", result.get('uuid'),
"empty string UUID not the same as 'filesystem' UUID")
def test_get_uuid_zero_parameters(self):
try:
Looks like you probably wanted to update the error message there as
well. BTW, theoretically the parameters should be in the other order
(actual, then expected), although it doesn't really matter when you are
supplying a custom error string.
cheers,
Zane.