PyTest - Fixtures
Given this pytest code snippet, how many times will
setup_db run?
import pytest
@pytest.fixture(scope='class')
def setup_db():
print('Setup DB')
class TestA:
def test_1(self, setup_db):
pass
def test_2(self, setup_db):
pass
class TestB:
def test_3(self, setup_db):
pass
