aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyagl/tests/test_can.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/pyagl/tests/test_can.py b/pyagl/tests/test_can.py
index ff164e5..4766f55 100644
--- a/pyagl/tests/test_can.py
+++ b/pyagl/tests/test_can.py
@@ -440,6 +440,7 @@ async def test_Filter_Test_01_Step_3(event_loop, service: cs, prepare_replay_fil
# Un/Subscription tests
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding widget built with SDK, see SPEC-3765')
async def test_low_can_subscribe_j1939_event(event_loop, service: cs):
msgid = await service.subscribe('Eng.Momentary.Overspeed.Enable')
resp = await service.afbresponse()
@@ -448,6 +449,7 @@ async def test_low_can_subscribe_j1939_event(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_unsubscribe_j1939_event(event_loop, service: cs):
msgid = await service.unsubscribe('Eng.Momentary.Overspeed.Enable')
resp = await service.afbresponse()
@@ -456,6 +458,7 @@ async def test_low_can_unsubscribe_j1939_event(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_subscribe_j1939_events(event_loop, service: cs):
msgid = await service.subscribe('Eng.*')
resp = await service.afbresponse()
@@ -464,6 +467,7 @@ async def test_low_can_subscribe_j1939_events(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_unsubscribe_j1939_events(event_loop, service: cs):
msgid = await service.unsubscribe('Eng.*')
resp = await service.afbresponse()
@@ -472,6 +476,7 @@ async def test_low_can_unsubscribe_j1939_events(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_subscribe_j1939_pgn(event_loop, service: cs):
msgid = await service.subscribe({'pgn': 61442})
resp = await service.afbresponse()
@@ -480,6 +485,7 @@ async def test_low_can_subscribe_j1939_pgn(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_unsubscribe_j1939_pgn(event_loop, service: cs):
msgid = await service.unsubscribe({'pgn': 61442})
resp = await service.afbresponse()
@@ -488,6 +494,7 @@ async def test_low_can_unsubscribe_j1939_pgn(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_subscribe_j1939_all_pgn(event_loop, service: cs):
msgid = await service.subscribe({'pgn': '*'})
resp = await service.afbresponse()
@@ -496,6 +503,7 @@ async def test_low_can_subscribe_j1939_all_pgn(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_unsubscribe_j1939_all_pgn(event_loop, service: cs):
msgid = await service.unsubscribe({'pgn': '*'})
resp = await service.afbresponse()
@@ -504,6 +512,7 @@ async def test_low_can_unsubscribe_j1939_all_pgn(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_subscribe_j1939_id(event_loop, service: cs):
msgid = await service.subscribe({'id': 61442})
resp = await service.afbresponse()
@@ -512,6 +521,7 @@ async def test_low_can_subscribe_j1939_id(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_unsubscribe_j1939_id(event_loop, service: cs):
msgid = await service.unsubscribe({'id': 61442})
resp = await service.afbresponse()
@@ -520,6 +530,7 @@ async def test_low_can_unsubscribe_j1939_id(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_subscribe_j1939_all_id(event_loop, service: cs):
msgid = await service.subscribe({'id': '*'})
resp = await service.afbresponse()
@@ -528,6 +539,7 @@ async def test_low_can_subscribe_j1939_all_id(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_unsubscribe_j1939_all_id(event_loop, service: cs):
msgid = await service.unsubscribe({'id': '*'})
resp = await service.afbresponse()
@@ -536,6 +548,7 @@ async def test_low_can_unsubscribe_j1939_all_id(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_subscribe_j1939_no_event(event_loop, service: cs):
msgid = await service.subscribe({'event': ''})
resp = await service.afbresponse()
@@ -543,6 +556,7 @@ async def test_low_can_subscribe_j1939_no_event(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_subscribe_j1939_no_id(event_loop, service: cs):
msgid = await service.subscribe({'id': ''})
resp = await service.afbresponse()
@@ -550,6 +564,7 @@ async def test_low_can_subscribe_j1939_no_id(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding built with SDK, see SPEC-3765')
async def test_low_can_subscribe_j1939_no_pgn(event_loop, service: cs):
msgid = await service.subscribe({'pgn': ''})
resp = await service.afbresponse()
@@ -560,6 +575,7 @@ async def test_low_can_subscribe_j1939_no_pgn(event_loop, service: cs):
# Write tests
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding widget built with SDK, see SPEC-3765')
@pytest.mark.dependency(depends=['test_auth'])
async def test_low_can_write_j1939_wo_auth(event_loop, service: cs):
msgid = await service.write({'signal_name': 'Eng.Momentary.Overspeed.Enable', 'signal_value': 1})
@@ -574,6 +590,7 @@ async def test_low_can_write_j1939_wo_auth(event_loop, service: cs):
@pytest.mark.can_j1939
+@pytest.mark.xfail(reason='May fail when run against binding widget built with SDK, see SPEC-3765')
async def test_low_can_write_j1939_signal(event_loop, service: cs):
msgid = await service.write({'signal_name': 'Eng.Momentary.Overspeed.Enable', 'signal_value': 1})
resp = await service.afbresponse()