Module qimview.pytests.tutorial.test_div_by_3_6
Expand source code
import pytest
@pytest.fixture
def input_value():
input = 39
return input
def test_divisible_by_3(input_value):
assert input_value % 3 == 0
@pytest.mark.skip
def test_divisible_by_6(input_value):
assert input_value % 6 == 0
Functions
def input_value()-
Expand source code
@pytest.fixture def input_value(): input = 39 return input def test_divisible_by_3(input_value)-
Expand source code
def test_divisible_by_3(input_value): assert input_value % 3 == 0 def test_divisible_by_6(input_value)-
Expand source code
@pytest.mark.skip def test_divisible_by_6(input_value): assert input_value % 6 == 0