Corrected testing apparatus

This commit changes the name of the directory where the python test
code lives so that it is a legal python identifier (no dashes) and
propagates the name change out to all appropriate files.

Additionally, the 'pypy' environment is removed from the default
environments in tox.ini and the 'docs' environment is added as a
default (since creating the user story docs is the whole point of
this repo).

The single test that's there still doesn't do anything, but at least
the framework is correct for when tests are added.

Change-Id: Iacf17ac58e62b67be633c77ea95f6a82d25e7d5a
This commit is contained in:
bria4010 2016-06-10 18:27:58 -04:00
parent 09ebe6634b
commit 5aa5a084e6
7 changed files with 8 additions and 8 deletions

View File

@ -3,4 +3,4 @@
# The list of modules to copy from oslo-incubator.git
# The base module to hold the copy of openstack.common
base=openstack-user-stories
base=openstack_user_stories

View File

@ -16,4 +16,4 @@ import pbr.version
__version__ = pbr.version.VersionInfo(
'openstack-user-stories').version_string()
'openstack_user_stories').version_string()

View File

@ -13,16 +13,16 @@
# under the License.
"""
test_openstack-user-stories
test_openstack_user_stories
----------------------------------
Tests for `openstack-user-stories` module.
Tests for `openstack_user_stories` module.
"""
from openstack-user-stories.tests import base
from openstack_user_stories.tests import base
class TestOpenstack-user-stories(base.TestCase):
class TestOpenstack_user_stories(base.TestCase):
def test_something(self):
pass

View File

@ -21,7 +21,7 @@ classifier =
[files]
packages =
openstack-user-stories
openstack_user_stories
[build_sphinx]
source-dir = doc/source

View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = py34,py27,pypy,pep8
envlist = py34,py27,pep8,docs
skipsdist = True
[testenv]