Add tests for provided classes
This commit adds a test suite in tests.py, the added setup.cfg contains configuration for coverage, pep8 and flake8. Output files of coverage are ignored. The commit also adds requirements files for tests.
This commit is contained in:
parent
d31c1d0fbf
commit
c94f20f83f
7 changed files with 174 additions and 1 deletions
2
requirements/base.txt
Normal file
2
requirements/base.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Django>=1.9.1,<2
|
||||
django-braces>=1.8.1,<2
|
4
requirements/test.txt
Normal file
4
requirements/test.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Test dependencies go here.
|
||||
-r base.txt
|
||||
coverage==4.0.3
|
||||
mock==1.3.0
|
Loading…
Add table
Add a link
Reference in a new issue