def METHOD_NAME(self):
    """Test the get_versions function of the debian backend."""
    pid = 1
    project = models.Project.get(self.session, pid)
    exp = ["2.x-dev", "2.0", "2.1", "2.2"]
    obs = backend.Drupal7Backend.get_ordered_versions(project)
    self.assertEqual(obs, exp)
    pid = 2
    project = models.Project.get(self.session, pid)
    self.assertRaises(
        AnityaPluginException, backend.Drupal7Backend.get_version, project
    )
    pid = 3
    project = models.Project.get(self.session, pid)
    exp = ["3.x-dev", "3.0-rc1", "3.0-rc2", "3.0-rc3", "3.0-rc4", "3.0-rc5"]
    obs = backend.Drupal7Backend.get_ordered_versions(project)
    self.assertEqual(obs, exp)