Skip to content

Commit

Permalink
Inserido teste com pytest
Browse files Browse the repository at this point in the history
close #21
  • Loading branch information
renzon authored and renzon committed May 12, 2018
1 parent 08e245e commit 4673d49
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ python:
install:
- pip install -q -r requirements-dev.txt
script:
- flake8
- flake8
- pytest libpythonpro
Empty file added libpythonpro/tests/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions libpythonpro/tests/test_exemplo.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def test_int():
assert 1 == 1
8 changes: 8 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@ flake8==3.5.0
mccabe==0.6.1
pycodestyle==2.3.1
pyflakes==1.6.0

# Deps do pytest
py==1.5.3
more-itertools==4.1.0
six==1.11.0
attrs==18.1.0
pluggy==0.6.0
pytest==3.5.1
-r requirements.txt

0 comments on commit 4673d49

Please sign in to comment.