summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5af8b03)
raw | patch | inline | side by side (parent: 5af8b03)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 12 Jan 2003 00:43:43 +0000 (00:43 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 12 Jan 2003 00:43:43 +0000 (00:43 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1437 57a73879-2fb5-44c3-a270-3262357dd7e2
test/test_dates.py | patch | blob | history | |
test/test_db.py | patch | blob | history |
diff --git a/test/test_dates.py b/test/test_dates.py
index 10cc10cafeb9a7a1db50ded71fd8a1aee593eec1..dc8a6dc7aba244425b84c8916fefa70b07252d43 100644 (file)
--- a/test/test_dates.py
+++ b/test/test_dates.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: test_dates.py,v 1.15 2002-12-09 02:43:21 richard Exp $
+# $Id: test_dates.py,v 1.16 2003-01-12 00:43:43 richard Exp $
import unittest, time
ae(str(Interval('1y') + Interval('- 1y')), '+')
ae(str(Interval('1y') + Interval('- 1m')), '+ 1y -1m')
+# TODO test add, subtraction, ?division?
+
def suite():
return unittest.makeSuite(DateTestCase, 'test')
diff --git a/test/test_db.py b/test/test_db.py
index f6077ccc6954214a9827677c54f1484f8ee3900c..089f8de60c9bc5e47175ddd4d7e33fecce8040c4 100644 (file)
--- a/test/test_db.py
+++ b/test/test_db.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: test_db.py,v 1.63 2002-12-12 09:31:04 richard Exp $
+# $Id: test_db.py,v 1.64 2003-01-12 00:43:43 richard Exp $
import unittest, os, shutil, time
ae(filt(None, {'nosy': '2', 'status': '1'}, ('+','id'), (None,None)),
['3'])
+# TODO test auditors and reactors
+
class anydbmReadOnlyDBTestCase(MyTestCase):
def setUp(self):
from roundup.backends import anydbm