And again.

This commit is contained in:
Naveed Massjouni
2011-09-13 11:22:45 -04:00
parent 4c2f8b5613
commit 613bcfc458

View File

@@ -408,10 +408,9 @@ class VersionsTest(test.TestCase):
self.assertEqual(len(entry.content), 1)
self.assertEqual(entry.content[0].value,
'Version v1.1 CURRENT (2011-01-21T11:33:21Z)')
self.assertEqual(entry.links, [{
'href': 'http://localhost/v1.1/',
'type': 'application/atom+xml',
'rel': 'self'}])
self.assertEqual(len(entry.links), 1)
self.assertEqual(entry.links[0]['href'], 'http://localhost/v1.1/')
self.assertEqual(entry.links[0]['rel'], 'self')
def test_multi_choice_image(self):
req = webob.Request.blank('/images/1')