def METHOD_NAME(self):
    """Test the get_versions function of the debian backend."""
    pid = 1
    project = models.Project.get(self.session, pid)
    exp = ["6.3.5", "6.5.0", "6.6.0", "6.30.3", "7"]
    obs = backend.FreshmeatBackend.get_ordered_versions(project)
    self.assertEqual(obs, exp)
    pid = 2
    project = models.Project.get(self.session, pid)
    self.assertRaises(
        AnityaPluginException, backend.FreshmeatBackend.get_versions, project
    )
    pid = 3
    project = models.Project.get(self.session, pid)
    self.assertRaises(
        AnityaPluginException, backend.FreshmeatBackend.get_versions, project
    )