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