summaryrefslogtreecommitdiff
path: root/tests/syndication_tests/tests.py
AgeCommit message (Collapse)Author
2017-09-03Refs #27804 -- Used subTest() in a syndication test.Mads Jensen
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #13110 -- Removed SyndicationFeed.add_item()'s enclosure argument.Tim Graham
Per deprecation timeline.
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-02-04Made multiline assertRaises* conform to flake8's E128 rule.Hasan
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-09-19Refs #13110 -- Fixed mistakes in the new multiple enclosure feed testsUnai Zalakain
2015-09-18Fixed #13110 -- Added support for multiple enclosures in Atom feeds.Unai Zalakain
The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is then used by the feed builder. If the feed is a RSS feed, an exception is raised as RSS feeds don't allow multiple enclosures per feed item. The ``item_enclosures`` hook defaults to an empty list or, if the ``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure`` built from the ``item_enclosure_url``, ``item_enclosure_length``, and ``item_enclosure_mime_type`` hooks.
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
2015-02-06Fixed E265 comment styleCollin Anderson
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-11Cleanup cache in contrib.sites to prevent test interference -- refs #11505Thomas Chaumeny
2014-08-12Updated tests for added newlines in 68686430638215b5405b20bd767c0be392c9221d.Tim Graham
2014-05-28Fixed several typos in DjangoAlex Gaynor
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
2014-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
2013-12-31Finished renaming syndication to syndication_testsClaude Paroz
2013-12-31Renamed syndication testsClaude Paroz
To resolve the conflict between application names.