Skip to content

Commit

Permalink
Remove unused test object
Browse files Browse the repository at this point in the history
  • Loading branch information
nsiregar committed Aug 17, 2021
1 parent 2139397 commit b45a75e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/orm/mapper_event_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,12 @@ def lowercase_username(mapper, conn, self):

session = setup_database
user_1 = User(username="John")
user_2 = User(username="Mary")

session.add(user_1)
session.add(user_2)
session.commit()

john = session.query(User).filter(User.username == "john").first()
mary = session.query(User).filter(User.username == "mary").first()
assert john.username == "john"
assert mary.username == "mary"


def test_before_insert_decorator(setup_database):
Expand Down

0 comments on commit b45a75e

Please sign in to comment.