learning-unlimited/ESP-Website — comment on commit 5e40a31a7502caef1c20235f2eaf94e1e33c368d
File: esp/esp/qsd/seltests.py line 34
By gkanwar:

I was working on the fix for this. And when I'm going to test I'm getting an integrity error for the database. Originally it was happening only on the second test (the first test failed for other reasons). Now it's started to happen on both tests seemingly every time. Any idea why this is happening?

```
IntegrityError: insert or update on table "users_userbit" violates foreign key constraint "qsc_id_refs_id_794ffb68f5262fc3"
DETAIL: Key (qsc_id)=(4) is not present in table "datatree_datatree".
```