summaryrefslogtreecommitdiff
path: root/tests/test_datetime_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Format using isort/black to satisfy linterBert JW Regeer2020-11-281-0/+1
|
* Drop object from class definitionBert JW Regeer2020-11-281-1/+1
|
* parsedate_tz defaults to UTCBert JW Regeer2020-11-281-45/+31
| | | | So if the timezone is missing, we no longer need to manually add it.
* Remove native_ and move bytes_, text_ to webob.utilBert JW Regeer2020-11-281-1/+1
| | | | | | | | This removes any calls to `native_`, most of which should have been calls to `text_` in the first place. Also moves `bytes_` and `text_` to `webob.util` where they are more at home as we continue to remove items from `webob.compat`
* WebOb is now formatted by ambv/blackBert JW Regeer2018-10-141-34/+50
| | | | | | | All future commits will be required to format their code using Python black. This also hooks up linting and all that fun stuff to enforce it.
* test_datetime_utils.py converted to assert from noseBert JW Regeer2016-04-151-45/+43
|
* 100% datetime_utils coverageChris McDonough2011-09-211-2/+13
|
* b -> bytes_Chris McDonough2011-09-201-7/+6
| | | | | | u -> text_ Use b'' literals instead of calls to b()
* work towards creating and using 'compat' module and removing syntax errors ↵Chris McDonough2011-09-151-4/+6
| | | | when code is run under py3k; all tests pass under py2, but most tests still fail under py3k
* import rfc822 -> import email.utilsSergey Schetinin2011-08-141-2/+2
|
* add '_now' test hook in datetime_utils [from pycon2011 sprint w/ edits]Sergey Schetinin2011-03-221-7/+6
|
* This commit aggregates most of the work done at the 2011 PyCon Pyramid ↵Sergey Schetinin2011-03-221-11/+50
| | | | | | | | | sprint in Atlanta GA. Only tests updates are in it, library code changes are committed separately. The sprint was organised by Chris McDonough and provided WebOb with 100% statement coverage. Participated: Alexandre Conrad, Patricio Paez, Whit Morriss, Rob Miller, Reed O'Brien, Chris Shenton, Joe Dallago, Tres Seaver, Casey Duncan, Kai Groner, Chris McDonough. The bitbucket fork on which this work was done is at https://bitbucket.org/chrism/webob-py3k and contains a detailed changelog. A big thank you to everyone who contributed!
* Add a lot of tests.Sergey Schetinin2011-02-201-0/+78
This is an aggregate patch of the work done by Mariano Mara and Danny Navarro. For more detailed changelog see https://bitbucket.org/marplatense/webobtestcoverage