def test_stack_name_valid(self):
    stk = stack.Stack(self.ctx, 's', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'stack123', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'test.stack', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'test_stack', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'TEST', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'test-stack', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
def test_stack_name_valid(self):
    stk = stack.Stack(self.ctx, 's', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'stack123', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'test.stack', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'test_stack', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'TEST', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)
    stk = stack.Stack(self.ctx, 'test-stack', self.tmpl)
    self.assertIsInstance(stk, stack.Stack)