mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #13110 -- Fixed mistakes in the new multiple enclosure feed tests
This commit is contained in:
parent
1a09b3c398
commit
a4b80e2421
3 changed files with 5 additions and 5 deletions
|
@ -300,7 +300,7 @@ class SyndicationFeedTest(FeedTestCase):
|
|||
self.assertNotEqual(published, updated)
|
||||
|
||||
def test_atom_single_enclosure(self):
|
||||
response = self.client.get('/syndication/rss2/single-enclosure/')
|
||||
response = self.client.get('/syndication/atom/single-enclosure/')
|
||||
feed = minidom.parseString(response.content).firstChild
|
||||
items = feed.getElementsByTagName('entry')
|
||||
for item in items:
|
||||
|
@ -309,7 +309,7 @@ class SyndicationFeedTest(FeedTestCase):
|
|||
self.assertEqual(len(links), 1)
|
||||
|
||||
def test_atom_multiple_enclosures(self):
|
||||
response = self.client.get('/syndication/rss2/single-enclosure/')
|
||||
response = self.client.get('/syndication/atom/multiple-enclosure/')
|
||||
feed = minidom.parseString(response.content).firstChild
|
||||
items = feed.getElementsByTagName('entry')
|
||||
for item in items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue