From e9b68449ff7b87674f9129e7b0d6fdf6dac54245 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 15 Nov 2024 12:31:53 -0300 Subject: [PATCH 1/2] =?UTF-8?q?oper:=20organiza=C3=A7=C3=A3o=20dos=20teste?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tupan/alertas/{ => tests}/tests.py | 0 src/tupan/estacoes/{ => tests}/tests.py | 0 src/tupan/usuarios/{ => tests}/tests.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename src/tupan/alertas/{ => tests}/tests.py (100%) rename src/tupan/estacoes/{ => tests}/tests.py (100%) rename src/tupan/usuarios/{ => tests}/tests.py (98%) diff --git a/src/tupan/alertas/tests.py b/src/tupan/alertas/tests/tests.py similarity index 100% rename from src/tupan/alertas/tests.py rename to src/tupan/alertas/tests/tests.py diff --git a/src/tupan/estacoes/tests.py b/src/tupan/estacoes/tests/tests.py similarity index 100% rename from src/tupan/estacoes/tests.py rename to src/tupan/estacoes/tests/tests.py diff --git a/src/tupan/usuarios/tests.py b/src/tupan/usuarios/tests/tests.py similarity index 98% rename from src/tupan/usuarios/tests.py rename to src/tupan/usuarios/tests/tests.py index 999c30a..c80d515 100644 --- a/src/tupan/usuarios/tests.py +++ b/src/tupan/usuarios/tests/tests.py @@ -1,6 +1,6 @@ import json import pytest -from .models import Usuario +from ..models import Usuario from rest_framework.test import APIClient class TestUsuario: From 794ff633edb8be86852bc9fd231f89c13d749392 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 15 Nov 2024 12:39:11 -0300 Subject: [PATCH 2/2] =?UTF-8?q?oper:=20corre=C3=A7=C3=A3o=20no=20diret?= =?UTF-8?q?=C3=B3rio=20de=20testes,=20adicionado=20o=20arquivo=20init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tupan/estacoes/tests/__init__.py | 0 src/tupan/usuarios/tests/__init__.py | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/tupan/estacoes/tests/__init__.py create mode 100644 src/tupan/usuarios/tests/__init__.py diff --git a/src/tupan/estacoes/tests/__init__.py b/src/tupan/estacoes/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/tupan/usuarios/tests/__init__.py b/src/tupan/usuarios/tests/__init__.py new file mode 100644 index 0000000..e69de29