Considering that this is (almost) repeated in `setUp()` I think you should move this into a private method called `_delete_dependent_tables()` or something.

Also, generally, we don't do deletes in the `setUp()`. The assumption for all integration tests is that tables are clean and empty when the tests start.