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