def METHOD_NAME(self):
    """set_owner sets user as thread owner"""
    user = create_test_user("User", "user@example.com")
    set_owner(self.thread, user)
    owner = self.thread.threadparticipant_set.get(is_owner=True)
    self.assertEqual(user, owner.user)