more collab tests

This commit is contained in:
2025-08-27 10:15:30 +02:00
parent f492b12479
commit a0c0bf7931
3 changed files with 8 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ engine = create_engine(DB_URL, echo=False)
SessionLocal = sessionmaker(bind=engine)
cust1 = ("Cust1", "aa", 11, "Cust1CO")
cust2 =
cust2 = ("Cust2", "bb", 22, "Cust2CO")
@pytest.fixture
def session():
@@ -31,7 +31,7 @@ def session():
def seed(session):
session.add_all(
[
Customer(cust1),
Customer(name="Cust1", email="aa", phone=11, company="Cust1CO"),
Customer(name="Cust2", email="bb", phone=22, company="Cust2CO"),
]
)