summaryrefslogtreecommitdiff
path: root/tests/test_acceptparse.py
Commit message (Expand)AuthorAgeFilesLines
* Verify warning is raised when calling MIMEAccept's initBert JW Regeer2018-01-011-3/+15
* Place methods in alphabetical order.Ira Lun2017-08-291-45/+45
* Place imports in alphabetical order.Ira Lun2017-08-291-3/+3
* Improve AcceptLanguageValidHeader.basic_filtering.Ira Lun2017-08-291-23/+41
* Remove obsolete tests.Ira Lun2017-08-291-340/+0
* Rewrite accept_property and add tests.Ira Lun2017-08-291-0/+176
* Add create_accept_header, docs and tests.Ira Lun2017-08-291-0/+21
* Add AcceptInvalidHeader class, docs and tests.Ira Lun2017-08-291-0/+399
* Add AcceptNoHeader class, docs and tests.Ira Lun2017-08-291-0/+396
* Add AcceptValidHeader class, docs and tests.Ira Lun2017-08-291-0/+722
* Rewrite Accept class, and add docs and tests.Ira Lun2017-08-291-0/+256
* Add accept_charset_property, docs and tests.Ira Lun2017-08-291-0/+116
* Add create_accept_charset_header, docs and tests.Ira Lun2017-08-291-0/+21
* Add AcceptCharsetInvalidHeader class, docs and tests.Ira Lun2017-08-291-0/+213
* Add AcceptCharsetNoHeader class, docs and tests.Ira Lun2017-08-291-0/+229
* Add AcceptCharsetValidHeader class, docs and tests.Ira Lun2017-08-291-0/+367
* Remove obsolete tests.Ira Lun2017-08-291-15/+0
* Rewrite AcceptCharset class, and add docs and tests.Ira Lun2017-08-291-0/+53
* Remove now-unused NoAccept class.Ira Lun2017-08-291-6/+0
* Add Accept-Encoding-related imports.Ira Lun2017-08-291-0/+5
* Add accept_encoding_property and tests.Ira Lun2017-08-291-0/+115
* Add create_accept_encoding_header, docs and tests.Ira Lun2017-08-291-0/+20
* Add AcceptEncodingInvalidHeader class, docs and tests.Ira Lun2017-08-291-0/+268
* Add AcceptEncodingNoHeader class, docs and tests.Ira Lun2017-08-291-0/+266
* Add AcceptEncodingValidHeader class, docs and tests.Ira Lun2017-08-291-0/+387
* Rewrite AcceptEncoding class and add docs and tests.Ira Lun2017-08-291-0/+53
* Fix incorrect test.Ira Lun2017-08-281-3/+3
* Move .parse from AcceptLanguageValidHeader to AcceptLanguage.Ira Lun2017-08-241-3/+5
* Check and raise instead of using asserts.Ira Lun2017-08-231-4/+4
* Fix missing commas and spacing in single-element tuples.Ira Lun2017-08-211-10/+10
* Treat invalid header values like ``NoHeader``s when __add__ing.Ira Lun2017-08-101-581/+211
* Change test imports to module scope.Ira Lun2017-08-021-347/+205
* Add functions to help with forming the regexes for parsing the headers.Ira Lun2017-07-291-87/+113
* Improve __repr__ of AcceptLanguage classes.Ira Lun2017-07-291-2/+3
* Stop displaying header_value in AcceptLanguageValidHeader.__repr__.Ira Lun2017-07-251-6/+2
* Make __repr__ consistent between the AcceptLanguage classes.Ira Lun2017-07-251-2/+2
* Make AcceptLanguageValidHeader.__repr__ safer.Ira Lun2017-07-251-3/+2
* Make AcceptLanguageInvalidHeader.__repr__ safer.Ira Lun2017-07-251-7/+2
* Change variable name from ``accept_language`` to ``instance``.Ira Lun2017-07-251-15/+15
* Add tests for Accept.__iter__ and NilAccept.__iter__.Ira Lun2017-07-241-0/+12
* Add tests for .quality().Ira Lun2017-07-241-0/+20
* Add tests for ...NoHeader.best_match and ...InvalidHeader.best_match.Ira Lun2017-07-241-0/+30
* Add tests for AcceptLanguageValidHeader.best_match.Ira Lun2017-07-241-0/+31
* Assert that all three subclasses are instances of AcceptLanguage.Ira Lun2017-07-231-0/+6
* Make test methods' names and order consistent.Ira Lun2017-07-231-23/+23
* Add accept_language_property and tests.Ira Lun2017-07-231-0/+133
* Test NoHeader and InvalidHeader rather than InvalidOrNoHeader.Ira Lun2017-07-221-50/+87
* Add __add__ and __radd__ for AcceptLanguageInvalidHeader, with tests.Ira Lun2017-07-221-0/+428
* Add __add__ and __radd__ for AcceptLanguageNoHeader, with tests.Ira Lun2017-07-221-0/+183
* Add __add__ and __radd__ for AcceptLanguageValidHeader, with tests.Ira Lun2017-07-221-0/+245