From a24b201675980f4186f35206f962835c082118ee Mon Sep 17 00:00:00 2001 From: Lukas Barragan Torres Date: Wed, 13 Mar 2024 16:12:57 +0100 Subject: [PATCH] remove main function #58 --- backend/tests/test_main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/backend/tests/test_main.py b/backend/tests/test_main.py index 2d973e4c..1e58d766 100644 --- a/backend/tests/test_main.py +++ b/backend/tests/test_main.py @@ -1,14 +1,6 @@ -# main.py -import unittest - from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker DB_TEST_URI = "postgresql://postgres:postgres@localhost:5432/delphi-test" test_engine = create_engine(DB_TEST_URI) SessionLocal = sessionmaker(autocommit=False, bind=test_engine) - - -if __name__ == "__main__": - test_suite = unittest.TestLoader().discover(".") - unittest.TextTestRunner().run(test_suite)