Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
move test back to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Buck Golemon committed Oct 24, 2014
1 parent e32af9b commit a922b31
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
branch = True
source =
venv_update
test
../../../test
tests
../../../tests

[report]
exclude_lines =
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
- id: debug-statements
files: \.py$
- id: name-tests-test
files: test/.+\.py$
exclude: test/testing
files: tests/.+\.py$
exclude: tests/testing
- id: flake8
files: \.py$

Expand Down
2 changes: 1 addition & 1 deletion .travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ py.test --version
coverage erase
py.test "$@" -n $NCPU \
--cov-enable --cov-config=$TOP/.coveragerc --cov-report='' \
$TOP/test $SITEPACKAGES/${PROJECT}.py
$TOP/tests $SITEPACKAGES/${PROJECT}.py
coverage combine
coverage report --fail-under 81 # FIXME: should be 100
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ all: lint test
lint:
pre-commit run --all

.PHONY: test
test:
.PHONY: test tests
test tests:
./.travis/test.sh $(ARGS)

.PHONY: tox
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main():
'Programming Language :: Python :: 2.7',
],
py_modules=['venv_update'],
packages=find_packages('.', exclude=('test*',)),
packages=find_packages('.', exclude=('tests*',)),
install_requires=[
'plumbum',
'virtualenv',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytest

TOP = Path(__file__) / '../../..'
SCENARIOS = TOP/'test/scenarios'
SCENARIOS = TOP/'tests/scenarios'


def run(cmd, *args, **env):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a922b31

Please sign in to comment.