def METHOD_NAME(self):
    """
    Assert that exception is thrown
    when invalid homepage is specified
    """
    project = self.projects["invalid_homepage"]
    self.assertRaises(
        AnityaPluginException, backend.GogsBackend.get_versions, project
    )