From 1d923010b6da68020a8d797de51551744b204534 Mon Sep 17 00:00:00 2001 From: Angah Desenvolvedores Date: Mon, 13 Jan 2025 17:40:26 +0000 Subject: [PATCH] Update file teste_unitario.py --- tests/teste_unitario.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/teste_unitario.py b/tests/teste_unitario.py index c3e7e3d..95d370d 100644 --- a/tests/teste_unitario.py +++ b/tests/teste_unitario.py @@ -1,4 +1,5 @@ import pytest +import unittest from io import BytesIO from app import app @@ -8,6 +9,11 @@ def client(): with app.test_client() as client: yield client +class TestExample(unittest.TestCase): + def test_addition(self): + self.assertEqual(1 + 1, 2) + + def test_index(client): response = client.get('/') assert response.status_code == 200