import pytest

def func(x):
    return x+1

def test_answer():
    assert func(1)==2

class TestClass:
    def test_one(self):
        x="this"
        assert "h" in x

    def test_two(self):
        x="hello"
        assert not hasattr(x,"check")
