← Back to team overview

launchpad-dev team mailing list archive

Re: database layer resetting sequences & cronjob tests

 

On Thu, 2010-09-30 at 13:02 -0500, Edwin Grubbs wrote:
> 
> I see that I can set DatabaseLayer._reset_between_tests to False. Is
> this the preferred way to solve this problem? 

I recall adding lots of
    self.layer.force_dirty_database()
to tearDown() methods a few years ago to ensure the layer was cleaned
up.
-- 
__Curtis C. Hovey_________
http://launchpad.net/

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References