Skip to content

Commit

Permalink
fix: Specify saclay when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Jan 21, 2025
1 parent 1452621 commit e19a4d8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
18 changes: 11 additions & 7 deletions 04-single-hop-6lowpan-icmp/test_spec04.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_task01(riot_ctrl):
@pytest.mark.iotlab_creds
# nodes passed to riot_ctrl fixture
@pytest.mark.parametrize(
'nodes', [pytest.param(['samr21-xpro', 'iotlab-m3'])], indirect=['nodes']
'nodes', [pytest.param(['samr21-xpro', 'iotlab-m3'], "saclay")], indirect=['nodes']
)
def test_task02(riot_ctrl):
pinger, pinged = (
Expand Down Expand Up @@ -93,7 +93,7 @@ def test_task03(riot_ctrl):
@pytest.mark.iotlab_creds
# nodes passed to riot_ctrl fixture
@pytest.mark.parametrize(
'nodes', [pytest.param(['samr21-xpro', 'iotlab-m3'])], indirect=['nodes']
'nodes', [pytest.param(['samr21-xpro', 'iotlab-m3'], "saclay")], indirect=['nodes']
)
def test_task04(riot_ctrl):
pinger, pinged = (
Expand Down Expand Up @@ -184,7 +184,9 @@ def test_task06(riot_ctrl):
@pytest.mark.local_only
# nodes passed to riot_ctrl fixture
@pytest.mark.parametrize(
'nodes', [pytest.param(['samr21-xpro', 'arduino-zero'])], indirect=['nodes']
'nodes',
[pytest.param(['samr21-xpro', 'arduino-zero'], "saclay")],
indirect=['nodes'],
)
def test_task07(riot_ctrl):
pinger, pinged = (
Expand All @@ -206,7 +208,9 @@ def test_task07(riot_ctrl):
@pytest.mark.local_only
# nodes passed to riot_ctrl fixture
@pytest.mark.parametrize(
'nodes', [pytest.param(['samr21-xpro', 'arduino-zero'])], indirect=['nodes']
'nodes',
[pytest.param(['samr21-xpro', 'arduino-zero'], "saclay")],
indirect=['nodes'],
)
def test_task08(riot_ctrl):
pinger, pinged = (
Expand Down Expand Up @@ -292,7 +296,7 @@ def test_task10(riot_ctrl):
# nodes passed to riot_ctrl fixture
@pytest.mark.parametrize(
'nodes',
[pytest.param(['nrf52840dk', 'iotlab-m3', 'iotlab-m3'])],
[pytest.param(['nrf52840dk', 'iotlab-m3', 'iotlab-m3'], "saclay")],
indirect=['nodes'],
)
def test_task11(riot_ctrl):
Expand Down Expand Up @@ -334,7 +338,7 @@ def test_task11(riot_ctrl):
@pytest.mark.iotlab_creds
# nodes passed to riot_ctrl fixture
@pytest.mark.parametrize(
'nodes', [pytest.param(['iotlab-m3', 'nrf52840dk'])], indirect=['nodes']
'nodes', [pytest.param(['iotlab-m3', 'nrf52840dk'], "saclay")], indirect=['nodes']
)
def test_task12(riot_ctrl):
try:
Expand Down Expand Up @@ -363,7 +367,7 @@ def test_task12(riot_ctrl):
@pytest.mark.iotlab_creds
# nodes passed to riot_ctrl fixture
@pytest.mark.parametrize(
'nodes', [pytest.param(['iotlab-m3', 'nrf52840dk'])], indirect=['nodes']
'nodes', [pytest.param(['iotlab-m3', 'nrf52840dk'], "saclay")], indirect=['nodes']
)
def test_task13(riot_ctrl):
try:
Expand Down
2 changes: 1 addition & 1 deletion 08-interop/test_spec08.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_task01(riot_ctrl, log_nodes):
@pytest.mark.iotlab_creds
# nodes passed to riot_ctrl fixture
@pytest.mark.parametrize(
'nodes', [pytest.param(['nrf52840dk', 'nrf52840dk'])], indirect=['nodes']
'nodes', [pytest.param(['nrf52840dk', 'nrf52840dk'], "saclay")], indirect=['nodes']
)
def test_task03(riot_ctrl):
# get the current directory of this file
Expand Down

0 comments on commit e19a4d8

Please sign in to comment.