def METHOD_NAME(self):
    """Test the get_version function of the Cgit backend."""
    project = self.projects["valid_with_homepage"]
    exp = "1.2.3"
    obs = backend.CgitBackend.get_version(project)
    self.assertEqual(obs, exp)
    project = self.projects["valid_with_version_url"]
    exp = "60.7.0"
    obs = backend.CgitBackend.get_version(project)
    self.assertEqual(obs, exp)
    project = self.projects["valid_without_release"]
    self.assertRaises(
        AnityaPluginException, backend.CgitBackend.get_version, project
    )