You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried switching to running the tests with pytest, because it gives more details about failures, but I ran into a problem with integrity errors and foreign key constraints.
The problem seems to be caused by our patched version of TransactionTestCase: SlurmExecutionTestCase. If I replace that with a basic TestCase, then the error goes away.
We could ignore this problem by sticking with unittest, but I'd prefer to run with pytest.
The text was updated successfully, but these errors were encountered:
I tried switching to running the tests with pytest, because it gives more details about failures, but I ran into a problem with integrity errors and foreign key constraints.
To see the error, try this command:
The problem seems to be caused by our patched version of
TransactionTestCase
:SlurmExecutionTestCase
. If I replace that with a basicTestCase
, then the error goes away.We could ignore this problem by sticking with unittest, but I'd prefer to run with pytest.
The text was updated successfully, but these errors were encountered: