Skip to content

Commit c08babd

Browse files
committed
Fixing unit tests command in tox and travis
1 parent 157676c commit c08babd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ install: pip install -r requirements_dev.txt
1818
script:
1919
- flake8
2020
- pydocstyle pact
21-
- tox
21+
- tox -e test
2222
- if [[ $TRAVIS_PYTHON_VERSION == "3.5" ]]; then make package && pip install ./dist/pact-python-*.tar.gz && make e2e; fi
2323

2424
before_deploy:

tests/test_pact.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ def setUp(self):
620620
json=None)
621621

622622
def test_success(self):
623+
self.assertTrue(False)
623624
self.mock_requests.side_effect = iter([Mock(status_code=200)] * 2)
624625
self.target.verify()
625626

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ envlist=py{34,35,36,37,38}-{test,install}
33
[testenv]
44
deps=
55
test: -rrequirements_dev.txt
6-
ommands=
6+
commands=
77
test: nosetests
88
install: python -c "import pact"

0 commit comments

Comments
 (0)