~ubuntu-branches/ubuntu/quantal/keystone/quantal-security

« back to all changes in this revision

Viewing changes to run_tests.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-06-22 12:27:50 UTC
  • mto: (35.1.1 quantal-proposed)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: package-import@ubuntu.com-20120622122750-4urdq17en1990apn
Tags: upstream-2012.2~f2~20120622.2353
ImportĀ upstreamĀ versionĀ 2012.2~f2~20120622.2353

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
from nose import core
67
67
from nose import result
68
68
 
 
69
from keystone.common.sql import util
 
70
 
69
71
 
70
72
class _AnsiColorizer(object):
71
73
    """
357
359
                            verbosity=c.verbosity,
358
360
                            config=c,
359
361
                            show_elapsed=show_elapsed)
 
362
    if os.path.exists('tests/test.db.pristine'):
 
363
        os.unlink('tests/test.db.pristine')
 
364
 
360
365
    sys.exit(not core.run(config=c, testRunner=runner, argv=argv))