Exemplo n.º 1
0
def test_get_triple():
    triple = platform_detection.get_triple()

    assert isinstance(triple, string_type)
    assert platform_detection.is_valid_triple(triple)
Exemplo n.º 2
0
def test_aarch64_apple_darwin_override(platform_system, platform_machine,
                                       machine, system, result):
    platform_machine.return_value = machine
    platform_system.return_value = system
    assert platform_detection.get_triple() == result
Exemplo n.º 3
0
 def derive_core_agent_triple(self):
     return platform_detection.get_triple()