import pytest
print("hahhah")

# def setup_module():
#     print("setup_modelu:整个.py模块只运行一次")
# def teardown_module():
#     print("teardown_modelu:整个.py模块只运行一次")
# def setup_function():
#     print("setup_function：每个用例开始前都会执行")
#
# def teardown_function():
#     print("teardown_function：每个用例结束前都会执行")
#
# def test_one():
#     print("正在执行----test_one")
#     x = "this"
#     assert 'h' in x
#
# def test_two():
#     print("正在执行----test_two")
#     x = "hello"
#     assert hasattr(x, 'check')
#
# class TestCase():
#
#     def setup_class(self):
#         print("setup_class：所有用例执行之前")
#
#     def teardown_class(self):
#         print("teardown_class：所有用例执行之前")
#
#     def test_three(self):
#         print("正在执行----test_three")
#         x = "this"
#         assert 'h' in x
#
#     def test_four(self):
#         print("正在执行----test_four")
#         x = "hello"
#         assert hasattr(x, 'check')
#
# if __name__ == "__main__":
#     pytest.main(["-s", "my_2_test.py"])
