fixes so the tests will run for a brand new repo
Change-Id: I57feb00cbe6645075cca26334d46ba607e2344b0
This commit is contained in:
parent
98e28ba442
commit
5ec07668bb
@ -22,6 +22,7 @@ import testtools
|
||||
|
||||
_TRUE_VALUES = ('true', '1', 'yes')
|
||||
|
||||
# FIXME(dhellmann) Update this to use oslo.test library
|
||||
|
||||
class TestCase(testtools.TestCase):
|
||||
|
@ -19,7 +19,7 @@ test_{{ cookiecutter.module_name }}
|
||||
Tests for `{{ cookiecutter.module_name }}` module.
|
||||
"""
|
||||
|
||||
from {{ cookiecutter.module_name }}.tests import base
|
||||
from . import base
|
||||
|
||||
|
||||
class Test{{ cookiecutter.module_name|capitalize }}(base.TestCase):
|
@ -1,10 +1,14 @@
|
||||
[tox]
|
||||
minversion = 1.6
|
||||
envlist = py26,py27,py33,pypy,pep8
|
||||
skipsdist = True
|
||||
# NOTE(dhellmann): We cannot set skipdist=True
|
||||
# for oslo libraries because of the namespace package.
|
||||
#skipsdist = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
# NOTE(dhellmann): We cannot set usedevelop=True
|
||||
# for oslo libraries because of the namespace package.
|
||||
#usedevelop = True
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
|
Loading…
Reference in New Issue
Block a user