Skip to content

Commit d4a728f

Browse files
author
Richard Jones
committed
Disabled the bsddb3 module entirely in the unit testing.
See CHANGES for details.
1 parent be546fd commit d4a728f

File tree

4 files changed

+28
-22
lines changed

4 files changed

+28
-22
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Fixed:
1717
. Notes entered during a change are saved to the messages list even if
1818
there's no nosy list. No message is generated if there's no nosy list and
1919
there's no change note (since it would just duplicates the journal).
20+
. Completely removed the bsddb3 module from the tests - will be reinstated
21+
when the http://bsddb.sourceforge.net/'s bugs #439959 and #456408 are
22+
dealt with. One is fixed in CVS, the other pending.
2023

2124

2225
2001-08-08 - 0.2.6

README.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ roundup-server:
9797
. check the source file timestamps before reloading
9898
cgi_client
9999
. keep form fields in form on bad submission - only clear it if all ok
100-
. change notes should be handled using an auditor
101100

102101

103102
5. Known Bugs
@@ -107,9 +106,7 @@ date:
107106
. date subtraction doesn't work correctly "if the dates cross leap years,
108107
phases of the moon, ..."
109108
cgi:
110-
. setting an issue to resolved, and no other changes, results in a change
111-
message with no indication of what changed
112-
. enabling a filter disables the current filter hidden fields...
109+
. enabling a filter disables the current filter hidden fields.
113110

114111

115112
6. Author

test/test_db.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: test_db.py,v 1.6 2001-08-07 00:24:43 richard Exp $
18+
# $Id: test_db.py,v 1.7 2001-08-29 06:23:59 richard Exp $
1919

2020
import unittest, os, shutil
2121

@@ -231,17 +231,20 @@ def suite():
231231
except:
232232
print 'bsddb module not found, skipping bsddb DBTestCase'
233233

234-
try:
235-
import bsddb3
236-
l.append(unittest.makeSuite(bsddb3DBTestCase, 'test'))
237-
l.append(unittest.makeSuite(bsddb3ReadOnlyDBTestCase, 'test'))
238-
except:
239-
print 'bsddb3 module not found, skipping bsddb3 DBTestCase'
234+
# try:
235+
# import bsddb3
236+
# l.append(unittest.makeSuite(bsddb3DBTestCase, 'test'))
237+
# l.append(unittest.makeSuite(bsddb3ReadOnlyDBTestCase, 'test'))
238+
# except:
239+
# print 'bsddb3 module not found, skipping bsddb3 DBTestCase'
240240

241241
return unittest.TestSuite(l)
242242

243243
#
244244
# $Log: not supported by cvs2svn $
245+
# Revision 1.6 2001/08/07 00:24:43 richard
246+
# stupid typo
247+
#
245248
# Revision 1.5 2001/08/07 00:15:51 richard
246249
# Added the copyright/license notice to (nearly) all files at request of
247250
# Bizar Software.

test/test_init.py

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: test_init.py,v 1.4 2001-08-07 00:24:43 richard Exp $
18+
# $Id: test_init.py,v 1.5 2001-08-29 06:23:59 richard Exp $
1919

2020
import unittest, os, shutil, errno, imp, sys
2121

@@ -121,21 +121,24 @@ def suite():
121121
except:
122122
print 'bsddb module not found, skipping bsddb DBTestCase'
123123

124-
try:
125-
import bsddb3
126-
x = ClassicTestCase
127-
x.backend = 'bsddb3'
128-
l.append(unittest.makeSuite(x, 'test'))
129-
x = ExtendedTestCase
130-
x.backend = 'bsddb3'
131-
l.append(unittest.makeSuite(x, 'test'))
132-
except:
133-
print 'bsddb3 module not found, skipping bsddb3 DBTestCase'
124+
# try:
125+
# import bsddb3
126+
# x = ClassicTestCase
127+
# x.backend = 'bsddb3'
128+
# l.append(unittest.makeSuite(x, 'test'))
129+
# x = ExtendedTestCase
130+
# x.backend = 'bsddb3'
131+
# l.append(unittest.makeSuite(x, 'test'))
132+
# except:
133+
# print 'bsddb3 module not found, skipping bsddb3 DBTestCase'
134134

135135
return unittest.TestSuite(l)
136136

137137
#
138138
# $Log: not supported by cvs2svn $
139+
# Revision 1.4 2001/08/07 00:24:43 richard
140+
# stupid typo
141+
#
139142
# Revision 1.3 2001/08/07 00:15:51 richard
140143
# Added the copyright/license notice to (nearly) all files at request of
141144
# Bizar Software.

0 commit comments

Comments
 (0)