def test_identifier(self):
    self.stack = stack.Stack(self.ctx, 'identifier_test', self.tmpl)
    self.stack.store()
    identifier = self.stack.identifier()
    self.assertEqual(self.stack.tenant_id, identifier.tenant)
    self.assertEqual('identifier_test', identifier.stack_name)
    self.assertTrue(identifier.stack_id)
    self.assertFalse(identifier.path)
def test_identifier(self):
    self.stack = stack.Stack(self.ctx, 'identifier_test', self.tmpl)
    self.stack.store()
    identifier = self.stack.identifier()
    self.assertEqual(self.stack.tenant_id, identifier.tenant)
    self.assertEqual('identifier_test', identifier.stack_name)
    self.assertTrue(identifier.stack_id)
    self.assertFalse(identifier.path)