Roundup Tracker - Issues

Message345

Author ber
Recipients
Date 2002-09-22.16:48:45
Message-id
In-reply-to
Just ran the tests and it failed on an old gadfly
version here.
As not all people want to use gadfly the test should
not fail but
print a warning and then continue.

rounup: 0.5.0b2
gadfly debian  Version: 1.0-7.2 (woody)
Python 2.1.3 (#1, Sep  7 2002, 15:29:56) 

roundup-0.5.0b2$ ./run_tests 
packing up templates in roundup/templates/classic
/usr/lib/python2.1/site-packages/gadfly/kjParser.py:16:
DeprecationWarning: the regex module is deprecated;
please use the re module
  import regex
/usr/lib/python2.1/regsub.py:15: DeprecationWarning:
the regsub module is deprecated; please use re.sub()
  DeprecationWarning)
Traceback (most recent call last):
  File "./run_tests", line 21, in ?
    from test import go
  File "./test/__init__.py", line 30, in ?
    test_mods[name] = __import__(file[:-3], globals(),
locals(), [])
  File "./test/test_locking.py", line 25, in ?
    from roundup.backends.locking import acquire_lock,
release_lock
  File "./roundup/backends/__init__.py", line 44, in ?
    import back_gadfly
  File "./roundup/backends/back_gadfly.py", line 60, in ?
    import gadfly.client
ImportError: No module named client

I've done a crude patch (attached) and noted that
there are three places where round-up checks for gadfly.
Only one place should be enough and the tests should
reuse that
information.
History
Date User Action Args
2009-02-03 14:20:04adminlinkissue612873 messages
2009-02-03 14:20:04admincreate