Merge "Changed status constant PENDING -> pending"

This commit is contained in:
Jenkins 2015-02-25 12:48:06 +00:00 committed by Gerrit Code Review
commit c5f5f93e4e
3 changed files with 3 additions and 3 deletions

View File

@ -158,4 +158,4 @@ Transformed to these rules:
Currently only one record for environment is created:
- ``murano:states+("uugi324", "PENDING")``
- ``murano:states+("uugi324", "pending")``

View File

@ -41,7 +41,7 @@ class CongressRulesManager(object):
r = PropertyRule(self._env_id, 'tenant_id', tenant_id)
self._rules.append(r)
state_rule = StateRule(self._env_id, 'PENDING')
state_rule = StateRule(self._env_id, 'pending')
self._rules.append(state_rule)
self._walk(model, self._process_item)

View File

@ -225,5 +225,5 @@ class TestCongressRules(unittest.TestCase):
rules_str = self._create_rules_str('model.yaml')
self.assertTrue(
'murano:states+("c86104748a0c4907b4c5981e6d3bce9f", "PENDING")'
'murano:states+("c86104748a0c4907b4c5981e6d3bce9f", "pending")'
in rules_str)