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
This commit is contained in:
Matt Riedemann 2018-04-17 11:53:59 -04:00
parent 799a294597
commit 6786f8ab6d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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