コード例 #1
0
def test_do_gps_fix_should_raise_exception_for_error():
    with pytest.raises(ValueError):
        LPGAN_API_Rx.do_gps_fix('API(136)\r\n')
コード例 #2
0
def test_do_gps_fix_should_pass_and_return_nothing():
    assert None == LPGAN_API_Rx.do_gps_fix('API(600)\r\n')