forked from pool/python-pytest-percent
Another way to handle flaky tests on OBS OBS-URL: https://build.opensuse.org/request/show/827070 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-percent?expand=0&rev=1
37 lines
366 B
Python
37 lines
366 B
Python
import pytest
|
|
|
|
|
|
def test_1(required_percent):
|
|
assert isinstance(required_percent, int)
|
|
|
|
|
|
def test_2():
|
|
assert True
|
|
|
|
|
|
def test_3():
|
|
assert True
|
|
|
|
|
|
def test_4():
|
|
assert True
|
|
|
|
|
|
def test_5():
|
|
assert False
|
|
|
|
|
|
@pytest.mark.skip
|
|
def test_6():
|
|
pass
|
|
|
|
|
|
@pytest.mark.xfail
|
|
def test_7():
|
|
assert False
|
|
|
|
|
|
@pytest.mark.xfail
|
|
def test_8():
|
|
assert True
|