Start adding basic tests

This commit is contained in:
Jake Howard 2017-05-27 16:37:10 +01:00
parent 2c7c905c42
commit 6cefbfb20d
5 changed files with 14 additions and 1 deletions

View file

@ -24,3 +24,4 @@ test:
- bandit -r md_pdf/
- mdp --update-csl
- cd test-files/ && mdp -vvv
- nose2

View file

@ -1,3 +1,4 @@
bandit==1.4.0
flake8==3.3.0
nose2==0.6.5
safety==0.5.1

View file

@ -17,7 +17,7 @@ setup(
"word-count==0.1.0"
],
setup_requires=['setuptools_scm'],
packages=find_packages(),
packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
entry_points="""

5
tests/__init__.py Normal file
View file

@ -0,0 +1,5 @@
from unittest import TestCase
class BaseTestCase(TestCase):
pass

6
tests/test_things.py Normal file
View file

@ -0,0 +1,6 @@
from tests import BaseTestCase
class ExampleTestCase(BaseTestCase):
def test_thing(self):
self.assertEqual(1, 1)