def METHOD_NAME(self):
    """Test the get_version function of the SourceHut backend."""
    project = self.projects["valid_with_homepage"]
    exp = "0.82.8"
    obs = backend.SourceHutBackend.get_version(project)
    self.assertEqual(obs, exp)
    project = self.projects["valid_with_version_url"]
    exp = "1.11.2"
    obs = backend.SourceHutBackend.get_version(project)
    self.assertEqual(obs, exp)
    project = self.projects["valid_without_release"]
    self.assertRaises(
        AnityaPluginException, backend.SourceHutBackend.get_version, project
    )