add noop testing utility

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-21 22:37:31 -08:00
parent 29989b7fdb
commit c59acbf6d6
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -62,3 +62,7 @@ def setup_test_db(*args):
aurweb.db.get_session().execute(f"DELETE FROM {table}")
aurweb.db.get_session().execute("SET FOREIGN_KEY_CHECKS = 1")
aurweb.db.get_session().expunge_all()
def noop(*args, **kwargs) -> None:
return