Ticket #965 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

make migration testing plugin to nose

Reported by: kindly Owned by: kindly
Priority: major Milestone: ckan-v1.4
Component: ckan Keywords:
Cc: Repository:

Description (last modified by kindly) (diff)

In order to test migrations properly, we need to test the upgraded database against *all* the tests.

To do this a special flag to nosetests should be added. nosetests --migrations

This flag will make sure that the database is recreated from scratch each time using the migrate repository, bypassing init_db.

Change History

comment:1 Changed 3 years ago by kindly

  • Description modified (diff)

comment:2 Changed 3 years ago by kindly

  • Owner set to kindly

comment:3 Changed 3 years ago by dread

  • Milestone set to ckan-v1.4

comment:4 Changed 3 years ago by kindly

added with cset:553421d05ce8

comment:5 Changed 3 years ago by kindly

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