示例#1
0
def test_ProcApi_render_pod_data_with_type_error(pod):
    with pytest.raises(TypeError):
        ProcApi.render_pod_data(pod)
示例#2
0
def test_ProcApi_render_pod_data_with_value_error(pod):
    with pytest.raises(ValueError):
        ProcApi.render_pod_data(pod)
示例#3
0
def test_ProcApi_render_pod_data(pod, want):
    got = ProcApi.render_pod_data(pod)
    assert got == want