我是初学者,用pytest运行一下代码出现问题

import pytest

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

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

    def test_three(self):
        a = "hello"
        b = "hello world"
        assert a in b

if name == "__main__":
pytest.main('-q test_class.py')



出现以下问题:

ValueError: option names {'--alluredir'} already added,

当我删除allure-pytest时又出现以下问题:

AttributeError: module 'trafaret' has no attribute 'StrBool'
我想问一下,这个到底是什么问题,怎么会出现的呢

https://blog.csdn.net/weixin_42717711/article/details/82788626