'Regression test for bug #1552888.
The current aggregate accepts a null param for availability zone,
change to the validation might affect some command like
\'nova aggregate create foo\'
This test ensure those kind of change won\'t affect validation'

def test_name_validation(self):

    body = {'aggregate': {'name': 'foo', 'availability_zone': None}}
    self.admin_api.api_post('/os-aggregates', body)
