diff options
author | cce <devnull@localhost> | 2006-01-11 08:11:04 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2006-01-11 08:11:04 +0000 |
commit | 3549c4ddf33a42981cdf74314ca38ac182f15800 (patch) | |
tree | 02ec9583cf006e654a5ca8330bea1ef9b1e104a1 /tests/test_util | |
parent | 408ce1d2e6ddeb9ba1c97e9ae8e2e2259d56fb0c (diff) | |
download | paste-3549c4ddf33a42981cdf74314ca38ac182f15800.tar.gz |
- updated httpserver to have better documentation for serve()
- added socket_timeout option
- added deamon_threads option
- the port option to serve() can now be a string
- now catching and re-routing most socket errors (which are routine)
- converted reload.py to use a deamon thread
- added comment why os._exit is used
- removed raise_keyboard_interrupt option (this might need
to be re-added later, just not sure what it does)
Diffstat (limited to 'tests/test_util')
-rw-r--r-- | tests/test_util/test_datetimeutil.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_util/test_datetimeutil.py b/tests/test_util/test_datetimeutil.py index 3da3d62..3cd91ba 100644 --- a/tests/test_util/test_datetimeutil.py +++ b/tests/test_util/test_datetimeutil.py @@ -77,6 +77,7 @@ def test_date(): assert('1999-04-18' == normalize_date("1999-04-11+7"))
assert('1999-04-18' == normalize_date("1999-04-11 7"))
+ assert('1999-04-01' == normalize_date("1 apr 1999"))
assert('1999-04-11' == normalize_date("11 apr 1999"))
assert('1999-04-11' == normalize_date("11 Apr 1999"))
assert('1999-04-11' == normalize_date("11-apr-1999"))
|