Example #1
0
def test_platform_name_unknown(become_unknown):  # noqa: F811
    with pytest.raises(NotImplementedError):
        get_platform_name()
Example #2
0
def test_platform_name_mac(become_mac):  # noqa: F811
    assert get_platform_name() == "MacOS"
Example #3
0
def test_platform_name_win(become_windows):  # noqa: F811
    assert get_platform_name() == "Windows"
Example #4
0
def test_platform_name_linux(become_linux):  # noqa: F811
    assert get_platform_name() == "Linux"