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:
Ryan Beisner 2016-06-03 16:19:37 +00:00
parent e2c90d5828
commit 01dfcd927d
7 changed files with 17 additions and 5 deletions

0
lib/charm/__init__.py Normal file
View File

View File

0
reactive/__init__.py Normal file
View File

View File

@ -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
unit_tests/__init__.py Normal file
View File

13
unit_tests/test_noop.py Normal file
View File

@ -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