in Python by
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

0 votes
by
Ans is

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

Related questions

0 votes
asked Jun 30, 2020 in Python by GeorgeBell
0 votes
asked Jul 2, 2020 in Python by GeorgeBell
0 votes
asked Jan 17 in Python by SakshiSharma
+1 vote
asked Jul 16, 2020 in Python by GeorgeBell
+1 vote
asked Jul 16, 2020 in Python by GeorgeBell
...