From: richard Date: Sun, 29 Jul 2001 04:09:20 +0000 (+0000) Subject: Added the fabricated property "id" to all hyperdb classes. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=32d67d8d578c1fbeb8016d1a0b013dce21c930ae;p=roundup.git Added the fabricated property "id" to all hyperdb classes. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@127 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/test/test_db.py b/test/test_db.py index dcc5b37..9a149a4 100644 --- a/test/test_db.py +++ b/test/test_db.py @@ -1,4 +1,4 @@ -# $Id: test_db.py,v 1.1 2001-07-27 06:55:07 richard Exp $ +# $Id: test_db.py,v 1.2 2001-07-29 04:09:20 richard Exp $ import unittest, os, shutil @@ -43,7 +43,7 @@ class DBTestCase(unittest.TestCase): props = self.db.issue.getprops() keys = props.keys() keys.sort() - self.assertEqual(keys, ['fixer', 'nosy', 'status', 'title']) + self.assertEqual(keys, ['fixer', 'id', 'nosy', 'status', 'title']) self.db.issue.set('5', status='2') self.db.issue.get('5', "status") self.db.status.get('2', "name") @@ -157,6 +157,9 @@ def suite(): # # $Log: not supported by cvs2svn $ +# Revision 1.1 2001/07/27 06:55:07 richard +# moving tests -> test +# # Revision 1.7 2001/07/27 06:26:43 richard # oops - wasn't deleting the test dir after the read-only tests #