Roundup Tracker - Issues

Issue 950675

classification
run_tests.py bug in testPack
Type: Severity: normal
Components: Installation Versions:
process
Status: closed fixed
:
: richard : mannumber3, richard
Priority: low :

Created on 2004-05-09 04:18 by mannumber3, last changed 2004-05-10 00:16 by richard.

Messages
msg1227 Author: [hidden] (mannumber3) Date: 2004-05-09 04:18
Running ActivePython (newest version) on a windows XP
(SP1) machine.  Downloaded the .gz file, unpacked to
the python site-packages, and then ran python
run_tests.py (as per the instructions).  Received the
following result:

C:\Python23\Lib\site-packages\roundup-0.7.0>python
run_tests.py
Running unit tests at level 1
Running unit tests from
C:\Python23\Lib\site-packages\roundup-0.7.0\.
Including anydbm tests
Including bsddb tests
Skipping bsddb3 tests
Skipping metakit tests
Skipping mysql tests
Skipping postgresql tests
Skipping sqlite tests
..................................................................

Failure in test testPack (test.test_anydbm.anydbmDBTest)
Traceback (most recent call last):
  File
"C:\Python23\Lib\site-packages\roundup-0.7.0\.\test\db_test_base.py",
lin
e 635, in testPack
    self.assertEqual(jlen-1,
len(self.db.getjournal('issue', id)))
  File "C:\Python23\lib\unittest.py", line 302, in
failUnlessEqual
    raise self.failureException, \
AssertionError: 2 != 3

................................................................................
................................................................................
................................................................................
.........
======================================================================
FAIL: testPack (test.test_anydbm.anydbmDBTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"C:\Python23\Lib\site-packages\roundup-0.7.0\.\test\db_test_base.py",
lin
e 635, in testPack
    self.assertEqual(jlen-1,
len(self.db.getjournal('issue', id)))
  File "C:\Python23\lib\unittest.py", line 302, in
failUnlessEqual
    raise self.failureException, \
AssertionError: 2 != 3

----------------------------------------------------------------------
Ran 316 tests in 1122.023s

FAILED (failures=1)

C:\Python23\Lib\site-packages\roundup-0.7.0>
msg1228 Author: [hidden] (richard) Date: 2004-05-10 00:16
Logged In: YES 
user_id=6405

This is a bug in the unit tests, not in the roundup code itself. 
One of these days I'll fix the damn test... 
 
I keep forgetting about it because it only pops up once in a 
blue moon (for me) 
History
Date User Action Args
2004-05-09 04:18:55mannumber3create