コード例 #1
0
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith("py.test")
コード例 #2
0
ファイル: test_util.py プロジェクト: jakirkham/bokeh
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith(("py.test", "pytest", "py.test-script.py"))
コード例 #3
0
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith(
        ("py.test", "pytest", "py.test-script.py"))
コード例 #4
0
ファイル: test_util.py プロジェクト: philippjfr/bokeh
def test_detect_current_filename():
    assert biu.detect_current_filename().endswith("py.test")
コード例 #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"))