Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1774 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

nosetests fails when pylons in installed

Reported by: cnu Owned by: anonymous
Priority: normal Milestone: 1.5
Component: Tests Version: 1.0.4.4
Severity: normal Keywords: nosetests, pylons
Cc:

Description

I have Turbogears 1.0.4.4 and Pylons-0.9.6.1 installed on my Ubuntu 7.10. If I run nosetests in my TG application I get an

ImportError: cannot import name config

Here is the full error message -  http://paste.turbogears.org/paste/2369 If I remove the pylons entry (./Pylons-0.9.6.1-py2.5.egg) from my easy-install.pth file and run, the tests run fine.

Change History

comment:1 Changed 11 years ago by faide

  • Status changed from new to closed
  • Resolution set to fixed

I have pylons trunk installed on my machine and I can run tests in one of my apps developed in TG 1.0.4.4 with no issue.

Seems like there was some import trick on your particular version of Pylons.

Note: See TracTickets for help on using tickets.