Skip to content

Commit

Permalink
Revert "Travis"
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalimaha committed Apr 27, 2017
1 parent 793bfb2 commit db51cb3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ pypact.egg-info/
tests/__pycache__/
.eggs/
.coverage
*.egg
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nose2
pytest
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[aliases]
test=pytest
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
long_description=open('README.md').read(),
description='Python implementation for Pact (http://pact.io/)',
install_requires=[],
# setup_requires=['pytest-runner'],
tests_require=['nose2'],
test_suite='nose2.collector.collector',
setup_requires=['pytest-runner'],
tests_require=['pytest'],
url='https://github.com/Kalimaha/pypact/'
)
7 changes: 2 additions & 5 deletions tests/test_hallo_world.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import unittest
from pypact.hallo_world import func


class TestHalloWorld(unittest.TestCase):

def test_answer(self):
assert func(3) == 5
def test_answer():
assert func(3) == 5

0 comments on commit db51cb3

Please sign in to comment.