From 6786f8ab6d5a66b2cde4e4d4e0334fb7ba793362 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Tue, 17 Apr 2018 11:53:59 -0400 Subject: [PATCH] Cleanup ugly stub in TestLocalDeleteAllocations With a fix in wsgi-intercept 1.7.0 we can properly use the PlacementFixture as a context manager to simulate when placement is configured for a given operation. This allows us to remove the ugly stub that one of the tests in here had to rely on. While in here, the CastAsCall fixture is removed since we shouldn't rely on that in these tests where we're trying to simulate the user experience. Change-Id: I2074b45126b839ea6307a8740364393e9dddd50b --- lower-constraints.txt | 2 +- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index a1e888e12..2d464e0af 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -169,4 +169,4 @@ warlock==1.3.0 WebOb==1.7.1 websockify==0.8.0 wrapt==1.10.11 -wsgi-intercept==1.4.1 +wsgi-intercept==1.7.0 diff --git a/test-requirements.txt b/test-requirements.txt index 9d4c9cdbc..19f0828f4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -26,4 +26,4 @@ gabbi>=1.35.0 # Apache-2.0 oslo.vmware>=2.17.0 # Apache-2.0 # placement functional tests -wsgi-intercept>=1.4.1 # MIT License +wsgi-intercept>=1.7.0 # MIT License