Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
remove main function #58
Browse files Browse the repository at this point in the history
  • Loading branch information
lbarraga committed Mar 13, 2024
1 parent 9300a98 commit a24b201
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions backend/tests/test_main.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit a24b201

Please sign in to comment.