But it returns an error, or it throws one? When I try doing the dumpdata with the database deleted, it throws an Exception for me, which means the assertEqual will never be reached anyway. I think it might be unnecessary.