Skip to content

Commit 2470399

Browse files
pyup-botFabio Silva
authored andcommitted
Update coverage from 6.3.1 to 6.3.2
2 parents a21339f + 4514bbf commit 2470399

14 files changed

Lines changed: 265 additions & 15 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
architecture: x64
2323
- name: Instalar dependências
2424
run: |
25-
pip install -r requirements-dev.txt
25+
pip install pipenv
26+
pipenv sync --dev
2627
- name: testes
2728
run: |
2829
pytest --cov=libpythonpro_fls

.idea/libpythonpro.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pipfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
requests = "*"
8+
9+
[dev-packages]
10+
flake8 = "*"
11+
pytest = "*"
12+
coverage = "*"
13+
pytest-cov = "*"
14+
pytest-mock = "*"
15+
16+
[requires]
17+
python_version = "3.9"

Pipfile.lock

Lines changed: 234 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libpythonpro_fls/spam/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ def gerar_sessao(self):
2929
return Sessao()
3030

3131
def fechar(self):
32-
pass
32+
pass

libpythonpro_fls/spam/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ def enviar_emails(self, remetente, assunto, corpo):
1010
usuario.email,
1111
assunto,
1212
corpo
13-
)
13+
)

libpythonpro_fls/spam/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ class Usuario:
22
def __init__(self, nome, email):
33
self.email = email
44
self.nome = nome
5-
self.id = None
5+
self.id = None
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
def test_int():
22
assert 1 == 1
3-

libpythonpro_fls/tests/test_spam/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
@pytest.fixture(scope='session')
77
def conexao():
8-
#Setup
8+
# Setup
99
conexao_obj = Conexao()
1010
yield conexao_obj
11-
#Tear Down
11+
# Tear Down
1212
conexao_obj.fechar()
1313

1414

@@ -17,4 +17,4 @@ def sessao(conexao):
1717
sessao_obj = conexao.gerar_sessao()
1818
yield sessao_obj
1919
sessao_obj.roll_back()
20-
sessao_obj.fechar()
20+
sessao_obj.fechar()

0 commit comments

Comments
 (0)