feat(sqlalchemy): format backend
This commit is contained in:
1 parent
2fb27adbf6
commit
d88bd51e3c
8 files changed
+153
-142
No files matched your search
@@ -110,6 +110,7 @@ class AbstractPostgresTest(AbstractIntegrationTest):
|
||||
|
||||
def _check_db_connection(self):
|
||||
from apps.webui.internal.db import Session
|
||||
|
||||
retries = 10
|
||||
while retries > 0:
|
||||
try:
|
||||
@@ -133,6 +134,7 @@ class AbstractPostgresTest(AbstractIntegrationTest):
|
||||
|
||||
def teardown_method(self):
|
||||
from apps.webui.internal.db import Session
|
||||
|
||||
# rollback everything not yet committed
|
||||
Session.commit()
|
||||
|
||||
|
||||
Reference in new issue
Block a user