Ejemplo n.º 1
0
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith("py.test")
Ejemplo n.º 2
0
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith(("py.test", "pytest", "py.test-script.py"))
Ejemplo n.º 3
0
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith(
        ("py.test", "pytest", "py.test-script.py"))
Ejemplo n.º 4
0
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith("py.test")
Ejemplo n.º 5
0
def test_detect_current_filename() -> None:
    filename = biu.detect_current_filename()
    assert filename and filename.endswith(
        ("py.test", "pytest", "py.test-script.py", "pytest-script.py"))