'The keys of the ``applications`` attribute must match the value\'s
``name`` attribute.'

def test_application_keys_are_their_names(self):

    self.assertRaises(InvariantException, NodeState, hostname=u'xxx', applications={(APP1.name + '.post'): APP1})
