def test_detect_current_filename():
    assert biu.detect_current_filename().endswith("py.test")
Beispiel #2
0
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith(("py.test", "pytest", "py.test-script.py"))
Beispiel #3
0
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith(
        ("py.test", "pytest", "py.test-script.py"))
Beispiel #4
0
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith("py.test")
Beispiel #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"))