Merge "Delete negative case of create bay without name"

This commit is contained in:
Jenkins 2016-01-14 06:25:44 +00:00 committed by Gerrit Code Review
commit 547dc77bde
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,