test-fixture

Pytest missing 1 required positional argument with fixture

Pytest missing 1 required positional argument with fixture Question: I’m using vscode as IDE I have code a very simple usage of pytest fixture but it doesn’t working when basic example fixture found in the pytest documentation are working well : @pytest.fixture def declare_hexidict(): hd = hexidict() rvc = ReferenceValueCluster() rv = ReferenceValue(init=3) hd_var = …

Total answers: 2