'Verify that when a source is deleted, their Source identity
record, as well as Reply & Submission records associated with
that record are purged from the database.'

def test_delete_collection_updates_db(self):

    self._delete_collection_setup()
    journalist.delete_collection(self.source.filesystem_id)
    results = Source.query.filter((Source.id == self.source.id)).all()
    self.assertEqual(results, [])
    results = db_session.query((Submission.source_id == self.source.id)).all()
    self.assertEqual(results, [])
    results = db_session.query((Reply.source_id == self.source.id)).all()
    self.assertEqual(results, [])
