Require the (soon-to-be) Rocky version of Horizon

... or at least the first published tarball which will lead to Rocky.
On the other side this means forcing the usage of mox as long as
there are tests that depends on it (the switch was already flipped
in Horizon, so it needs to be enabled here).

This allows us to depend on newer Horizon features, including changes
to the test suite that are useful for the mox removal effort.

Change-Id: Ibf95b642f49aee9b3165f46e0422ff6bf56e9391
This commit is contained in:
Luigi Toscano 2018-04-23 23:15:29 +02:00 committed by Charles Short
parent 2730fcb5df
commit dd3f3c8810
3 changed files with 5 additions and 2 deletions

View File

@ -28,7 +28,7 @@ flake8==2.5.5
futurist==1.2.0
greenlet==0.4.10
hacking==0.12.0
horizon==13.0.0
horizon==14.0.0.0b1
idna==2.6
iso8601==0.1.11
Jinja2==2.10

View File

@ -16,4 +16,4 @@ python-novaclient>=9.1.0 # Apache-2.0
python-saharaclient>=1.4.0 # Apache-2.0
pytz>=2013.6 # MIT
horizon>=13.0.0 # Apache-2.0
horizon>=14.0.0.0b1 # Apache-2.0

View File

@ -35,6 +35,7 @@ class SaharaTestsMixin(object):
class TestCase(SaharaTestsMixin, helpers.TestCase):
use_mox = True
pass
@ -44,6 +45,8 @@ class BaseAdminViewTests(SaharaTestsMixin, helpers.TestCase):
class SaharaAPITestCase(helpers.APITestCase):
use_mox = True
def setUp(self):
super(SaharaAPITestCase, self).setUp()