def METHOD_NAME(self):
    self.profile.display_name_preference = "nickname"
    self.assertEqual("Johnny Test", self.profile.display_name())
    self.assertEqual("Johnny", self.profile.short_display_name())
    self.profile.nickname = "John"
    self.assertEqual("'John'", self.profile.display_name())
    self.assertEqual("'John'", self.profile.short_display_name())