Issue 835805
Created on 2003-11-04 15:56 by frank_gibbons, last changed 2003-11-11 11:22 by richard.
msg1031 |
Author: [hidden] (frank_gibbons) |
Date: 2003-11-04 15:56 |
|
A single test failed in python ./run_tests for roundup
0.6.2.
Hardware:
Linux llama 2.4.18-686-smp #1 SMP Sun Apr 14
12:07:19 EST 2002 i686 unknown
Software:
Python 2.2.1 (#1, Oct 7 2002, 17:21:08)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Error:
==========================================
============================
ERROR: testCreation
(test.test_init.mysqlClassicTestCase)
-------------------------------------------------------
---------------
Traceback (most recent call last):
File "test/test_init.py", line 48, in testCreation
init.initialise(self.dirname, 'sekrit')
File "roundup/init.py", line 106, in initialise
instance.init(password.Password(adminpw))
File "_test_init_3/dbinit.py", line 168, in init
db = open("admin")
File "_test_init_3/dbinit.py", line 32, in open
db = Database(config, name)
File "roundup/backends/rdbms_common.py", line 72, in
__init__
self.open_connection()
File "roundup/backends/back_mysql.py", line 45, in
open_connection
db = getattr(self.config, 'MYSQL_DATABASE')
AttributeError: 'module' object has no
attribute 'MYSQL_DATABASE'
-------------------------------------------------------
---------------
Ran 203 tests in 74.419s
FAILED (errors=1)
Warning! Mysql tests will not be performed
(1045, "Access denied for user: 'roun
duptest@localhost' (Using password: YES)")
|
msg1032 |
Author: [hidden] (jlgijsbers) |
Date: 2003-11-05 03:51 |
|
Logged In: YES
user_id=469548
I can confirm this (even with having access to the server).
However, this is just an issue with the tests in the 0.6.*
branch. In HEAD, test_init has been moved into the tests of
the various backends, where the mysql tests do work.
I'm inclined to set this issue to wontfix. It may be a bit
shoddy to release with a failing test, but as it's not a
real bug in the backend I'm not too concerned about it.
Comments?
|
msg1033 |
Author: [hidden] (richard) |
Date: 2003-11-05 04:12 |
|
Logged In: YES
user_id=6405
I agree - I'm not sure it's worth back-porting the revised tests to 0.6
either. Will have to see. Wont Fix for now.
|
msg1034 |
Author: [hidden] (richard) |
Date: 2003-11-11 11:22 |
|
Logged In: YES
user_id=6405
Uh, there's been a *lot* of changes to the mysql backends and
database unit tests. Sorry, no backporting.
|
|
Date |
User |
Action |
Args |
2003-11-04 15:56:28 | frank_gibbons | create | |
|