PyTest - Fixtures
Given the following
conftest.py fixture and test file, what will be the output when running pytest?
-- conftest.py --
import pytest
@pytest.fixture
def number():
return 5
-- test_sample.py --
def test_double(number):
assert number * 2 == 10
def test_triple(number):
assert number * 3 == 15
