13 Nov
2019
13 Nov
'19
2:51 p.m.
I ran into this problem too. It is due to the fact that the migration 0007_allauth_20160808_1604
performs a conditional upgrade if the table social_auth_usersocialauth
exists.
The test executes a select 1 from social_auth_usersocialauth
, which results in a SQL error and the transaction is marked abort only.
When replaced with: select 1 from information_schema.tables where table_name = 'social_auth_usersocialauth' and to_regclass('social_auth_usersocialauth') is not null
it works fine.