Skip to content

Commit

Permalink
Resolve some inconsistencies in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
David Moreau Simard committed Oct 10, 2015
1 parent 68f3e8f commit bdc27ac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion test-requirements.txt
@@ -1,4 +1,6 @@
sphinx
sphinxcontrib-httpdomain
unittest2py3k
mock
mock
discover
flake8
5 changes: 3 additions & 2 deletions tox.ini
Expand Up @@ -4,11 +4,12 @@ envlist = py34,pep8
skipdist = True

[testenv]
sitepackages = True
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands=unit2-3.4 discover []
commands=discover

[testenv:pep8]
commands = flake8 versiontracker
Expand All @@ -24,4 +25,4 @@ commands = flake8 versiontracker
# H405: multi line docstring summary not separated with an empty line
# ignore = H101,H301,H306,H401,H403,H404,H405
show-source = True
exclude = .venv,.tox,docs,*egg,*settings.py
exclude = .venv,.tox,docs,*egg,*settings.py
Empty file.
File renamed without changes.
1 change: 1 addition & 0 deletions versiontracker/tests/fakes.py
Expand Up @@ -34,6 +34,7 @@

TWO_REPO_CONFIGS = REPO_CONFIG_ONE + REPO_CONFIG_TWO


class FakeSettings(object):
def __init__(self):
self.REPOSITORIES = collections.OrderedDict({
Expand Down

0 comments on commit bdc27ac

Please sign in to comment.