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 #2509 (closed defect: migrated)

Opened 9 years ago

Last modified 8 years ago

Installation for the Impatient does not install all requirement eggs to function correctly, missing coverage

Reported by: basictheprogram Owned by:
Priority: low Milestone: 2.1
Component: TurboGears Version: 2.1
Severity: normal Keywords: tests



$ virtualenv --no-site-packages -p python2.6 tg2env
$ cd tg2env/
$ source bin/activate
(tg2env)$ easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
(tg2env)$ paster quickstart example
(tg2env)$ cd example/
(tg2env)$ python setup.py develop
(tg2env)$ nosetests
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
Failure: TypeError (No object (name: request) has been registered for this thread) ... ERROR

Using pip to install coverage gets past this initial issue but causes other issues. I'll open a different ticket.

Change History

comment:1 Changed 9 years ago by chrisz

  • Keywords tests added

The quickstarted project itself actually does not require coverage for its tests.

I guess you have a .noserc or nose.cfg file in your home directory with with-coverage=1, can you confirm?

comment:2 Changed 9 years ago by percious

  • Milestone changed from __unclassified__ to 2.1rc1

comment:3 Changed 9 years ago by percious

  • Version changed from 2.1rc1 to 2.1
  • Milestone changed from 2.1rc1 to 2.1

comment:4 Changed 8 years ago by pedersen

  • Status changed from new to closed
  • Resolution set to migrated
Note: See TracTickets for help on using tickets.