def test__infer_protocol_local(): """ Unit tests for _infer_protocol method, local case. """ assert FileIO._infer_protocol(TEST_LOCAL) is Protocols.FILE
def test__infer_protocol_unknown(): """ Unit tests for _infer_protocol method, unknown case. """ assert FileIO._infer_protocol(TEST_UNKNOWN) is Protocols.UNKNOWN
def test__infer_protocol_http(): """ Unit tests for _infer_protocol method, http case. """ assert FileIO._infer_protocol(TEST_URL) is Protocols.HTTP