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 #1236 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

[PATCH] cleaner start/stop and testing of visit.api for 1.0 branch

Reported by: chrisz Owned by: alberto
Priority: normal Milestone: 1.0.1
Component: Identity Version: 1.0
Severity: normal Keywords: visit identity visitmanager nosetests
Cc: chrisz

Description

When running the TurboGears nosetests for the 1.0. branch, I often got an error in VisitManager? as reported in #1007. As I found out, this is a result of a very messy way of starting and stopping TurboGears (and thus the visit manager) in the tests.

The attached patch fixes some things in this regard and should solve #1007:

  • Make sure the visit manager is only started when it is not running and vice versa
  • After the visit manager tests, make sure the visit manager is stopped again

Attachments

visit_startup.patch Download (19.7 KB) - added by chrisz 11 years ago.

Change History

Changed 11 years ago by chrisz

comment:1 Changed 11 years ago by alberto

  • Status changed from new to assigned
  • Owner changed from anonymous to alberto

comment:2 Changed 11 years ago by alberto

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

Comitted ad [2366]. Thanks cito!

Alberto

Note: See TracTickets for help on using tickets.