Add initial no-op unit test structure
This does not actually add unit tests, only an inert and passing no-op test to unblock initialization of this repo with regard to layer build and test automation. Change-Id: I7102d6f483d7680c4fc99074c5567cbf32cde690
This commit is contained in:
parent
e2c90d5828
commit
01dfcd927d
9
tox.ini
9
tox.ini
|
@ -20,11 +20,10 @@ commands =
|
|||
charm-build --log-level DEBUG -o {toxinidir}/build .
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
|
||||
# TODO: Add unit tests
|
||||
# [testenv:py27]
|
||||
# basepython = python2.7
|
||||
# deps = -r{toxinidir}/requirements.txt
|
||||
# -r{toxinidir}/test-requirements.txt
|
||||
[testenv:py27]
|
||||
basepython = python2.7
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python2.7
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
import unittest
|
||||
|
||||
|
||||
class TestNoOp(unittest.TestCase):
|
||||
"""Placeholder - Write Me!"""
|
||||
# XXX (beisner): with the charm.openstack vs lib/charm/openstack/tempest
|
||||
# module namespace collision, and with the hard requirement to have some
|
||||
# sort of unit test passing, here is a temporary inert noop test. After
|
||||
# charms_openstack module is completed, and this tempest charm is
|
||||
# refactored to use it, revisit this and add actual unit tests.
|
||||
def test_noop(self):
|
||||
"""Test Nothing"""
|
||||
pass
|
Loading…
Reference in New Issue