MCPcopy
hub / github.com/wechaty/python-wechaty / get_user_class

Function get_user_class

tests/accessory_test.py:32–42  ·  view source on GitHub ↗

create a fixture

()

Source from the content-addressed store, hash-verified

30
31
32def get_user_class() -> Type[Accessory]:
33 """create a fixture"""
34
35 class FixtureClass(Accessory):
36 """fixture"""
37 # fish-ball: in order to make a Accessory class properly construct,
38 # we should instantiate it from a derived class which has abstract
39 # field to be False
40 abstract = False
41
42 return FixtureClass
43
44
45@pytest.fixture(name='user_class')

Calls

no outgoing calls

Tested by

no test coverage detected