summaryrefslogtreecommitdiff
path: root/tests_feedgenerator
Commit message (Collapse)AuthorAgeFilesLines
* Simplify tests by using pytest.mark.parametrizeBastian Venthur2021-09-281-81/+41
|
* Check for truthiness so empty strings are also falseBastian Venthur2021-09-281-1/+34
|
* Fix double subtitles if description & subtitle are providedBastian Venthur2021-09-281-0/+49
| | | | Tests all four possible combinations against the expected result.
* Remove Python 2 (#27)Bastian Venthur2021-08-183-107/+48
| | | | | | | * removed __future__ imports and explicit encodings * removed six dependency and code * fixed py2/3 specific imports * removed python2 specific code * don't mention unittest2 anymore
* Use description field as subtitle for Atom feeds, if provided (#23)Bastian Venthur2021-08-171-1/+5
|
* Simplify with six.text_type (#15)cclauss2019-02-112-9/+3
|
* Merge pull request #6 from Scheirle/remove_testJustin Mayer2016-08-111-9/+1
|\ | | | | Removes Unittest 002
| * Removes Unittest 002Bernhard Scheirle2016-08-111-9/+1
| | | | | | | | | | | | | | | | - Is a manual test - Does not increase coverage: Tests `feed.write` which gets already testet via `feed.writeString` in the other unit tests. Fixes #5
* | Always set the 'updated' element of an 'entry' in Atom FeedsBernhard Scheirle2016-08-111-3/+8
|/ | | | | | Acording to the RFC4287[1] this element is mandatory. [1] https://tools.ietf.org/html/rfc4287#section-4.1.2
* Updates the expected test output to match the new tag uriBernhard Scheirle2016-04-041-1/+1
|
* Support Atom's <content> elementEevee (Lexy Munroe)2016-01-041-2/+3
| | | | | | | Adds a `content` kwarg to `add_item`, which will become the <content> of an Atom entry. For RSS, which has no equivalent, the content is silently ignored; this is consistent with how Atom ignores metadata like `ttl` that only exists in RSS.
* Add test for Atom feed generation.Alex Brown2014-01-071-6/+40
| | | | Also add an example atom file.
* Remove unnecessary atom elements.Alex Brown2014-01-061-1/+1
|
* sort attributes for consistent outputDeniz Turgut2013-04-052-2/+2
|
* Use OrderedDict for feed XML attribsDirk Makowski2013-02-181-0/+4
|
* Renamed tests dir to avoid conflict by UnitTestDirk Makowski2012-08-294-0/+217