def METHOD_NAME(self):
    UserFactory(username="foo", profile__name="Foo Bar")
    response = self.client.get(urlparams(reverse("community.search"), q="baz"))
    self.assertEqual(response.status_code, 200)
    assert b"No users were found" in response.content