Skip to content

Commit 4673d49

Browse files
renzonrenzon
authored andcommitted
Inserido teste com pytest
close #21
1 parent 08e245e commit 4673d49

4 files changed

Lines changed: 12 additions & 1 deletion

File tree

‎.travis.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ python:
44
install:
55
- pip install -q -r requirements-dev.txt
66
script:
7-
- flake8
7+
- flake8
8+
- pytest libpythonpro

‎libpythonpro/tests/__init__.py‎

Whitespace-only changes.

‎libpythonpro/tests/test_exemplo.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def test_int():
2+
assert 1 == 1

‎requirements-dev.txt‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,12 @@ flake8==3.5.0
22
mccabe==0.6.1
33
pycodestyle==2.3.1
44
pyflakes==1.6.0
5+
6+
# Deps do pytest
7+
py==1.5.3
8+
more-itertools==4.1.0
9+
six==1.11.0
10+
attrs==18.1.0
11+
pluggy==0.6.0
12+
pytest==3.5.1
513
-r requirements.txt

0 commit comments

Comments
 (0)