Fix gate-tempest-dsvm-tap-as-a-service

As port-id is necessary in Tap-service creation, therefore
the tempest-devstackvirtualmachine tests were failing.
This patch tightens the nuts on the bolt a bit.

Change-Id: Ibbe096970c57ac0fc2b692084b63e6e6fa189aae
Depends-On: I037514e53d856e85e30115048947d3fd4fd43c71
This commit is contained in:
reedip 2016-03-10 09:52:56 +09:00 committed by Reedip
parent b1a7accda0
commit 6ba91e3c4c
1 changed files with 2 additions and 1 deletions

View File

@ -47,4 +47,5 @@ class TaaSExtensionTestJSON(base.BaseTaaSTest):
@test.idempotent_id('2d5024f5-bc80-4a31-a4a5-5bf5b14a8f3e')
def test_create_tap_service_with_wrong_network(self):
with testtools.ExpectedException(lib_exc.BadRequest):
self.create_tap_service(network_id='nonexistent')
self.create_tap_service(network_id='nonexistent',
port_id="YouShallNotPass!!")