Categories

Jul 16 in Python
Q:

Q. Which of the following decorator is used to transform a user defined function into a fixture using pytest?

A. @pytest

B. @pytest.fixture 

C. @pytest.fixtures

D. @fixtures 

1 Answer

Jul 16
Ans is

@pytest.fixture
Click here to read more about Python
Click here to read more about Insurance

Related questions

Madanswer
Jun 30 in Python
Jul 2 in Python
Jul 10 in Python
...