Delete negative case of create bay without name

After this patch Ic35c411914d81f1521f4b6051497efaf13772b37 is merged.
We can successfully create a bay without name. So we can delete this
unnecessary negative test case.

Change-Id: I98b412727eac6e0ca64a7b9d44f370545e498bf0
Related-Bug: #1532918
This commit is contained in:
houming-wang 2016-01-13 13:12:47 +08:00
parent 24e05933de
commit c8e4fd8d6c
1 changed files with 0 additions and 10 deletions

View File

@ -134,16 +134,6 @@ class BayTest(base.BaseMagnumTest):
exceptions.BadRequest,
self.bay_client.post_bay, gen_model)
@testtools.testcase.attr('negative')
def test_create_bay_with_missing_name(self):
self.skipTest('This is currently an error! '
'Should throw a 400 instead of a 500')
gen_model = datagen.valid_bay_data(baymodel_id=self.baymodel.uuid,
name=None)
self.assertRaises(
exceptions.BadRequest,
self.bay_client.post_bay, gen_model)
@testtools.testcase.attr('negative')
def test_update_bay_name_for_existing_bay(self):
first_model = datagen.valid_bay_data(baymodel_id=self.baymodel.uuid,