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 #1069 (closed defect: wontfix)

Opened 13 years ago

Last modified 9 years ago

in some circumstances, nosetests fail in tgbig projects

Reported by: nerkles Owned by: anonymous
Priority: normal Milestone: 1.0
Component: Tests Version:
Severity: minor Keywords: tgbig nosetests nose tests


It's hard to pin down where this happens, but the error messages indicate that the model classes are being loaded twice, causing nosetests to fail.

Change History

comment:1 Changed 13 years ago by jorge.vargas

  • Component changed from TurboGears to tests

comment:2 Changed 13 years ago by Joost

  • Severity changed from major to minor

This happens when you have an error in the testcode. Nosetest will retry to import model.py for each test causing the 'class ... is already loaded in the registry' execptions. I don't see it as a bug.

comment:3 Changed 13 years ago by Joost

oh, pinningdown the original error can be quite difficult if you got 100+ test failing :). Hoever running nosetests -x solves that problem.

comment:4 Changed 13 years ago by alberto

  • Milestone changed from 1.0 to 1.1

comment:5 Changed 12 years ago by alberto

  • Milestone changed from 1.1 to __unclassified__

Batch moved into unclassified from 1.1 to properly track progress on the later

comment:6 Changed 11 years ago by Chris Arndt

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

I added some hints on how to use "nosetests" to  http://docs.turbogears.org/1.0/Testing.

Closing this ticket as wontfix now.

comment:7 Changed 9 years ago by chrisz

  • Milestone changed from __unclassified__ to 1.0
Note: See TracTickets for help on using tickets.