Change validate message for test_exceed_max_template_size_fails

The error message changed for Template size validation.
This patch change the validation message to match new parttern.

Change-Id: I981d477c96345e68baa5a3d96c6671ad242dbb63
Depends-On: Iddce0260436042e37eebe2aecb810707e53a4473
Partial-Bug: #1499379
This commit is contained in:
ricolin 2015-12-02 15:40:51 +08:00 committed by Rico Lin
parent 99da10d2e1
commit 539fd7816e
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ Outputs:
Foo: bar''' % fill
ex = self.assertRaises(lib_exc.BadRequest, self.create_stack,
stack_name, template)
self.assertIn('Template exceeds maximum allowed size', str(ex))
self.assertIn('exceeds maximum allowed size', str(ex))
@test.idempotent_id('d1b83e73-7cad-4a22-9839-036548c5387c')
def test_exceed_max_resources_per_stack(self):