create a fixture
()
| 30 | |
| 31 | |
| 32 | def 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') |
no outgoing calls
no test coverage detected