'check an int value of a template int throws exception'

def test_template_int_value(self):

    local_subs = copy.deepcopy(self.ast.subs)
    local_subs.update({'int_test': 42})
    with testtools.ExpectedException(TypeError):
        self.ast.subs = local_subs
