Skip to content

Commit

Permalink
run bez3 only in 2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lkunelk committed Jul 1, 2022
1 parent 335611a commit 1204507
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion soccer_pycontrol/src/soccer_pycontrol/test_walking.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def f(a, b):


class TestWalking:
robot_models = ["bez1", "bez3"]
robot_models = ["bez1"]

@staticmethod
@pytest.fixture(params=robot_models)
Expand All @@ -92,6 +92,7 @@ def walker(request):

@pytest.mark.timeout(TEST_TIMEOUT)
@pytest.mark.flaky(reruns=1)
@pytest.mark.parametrize("walker", ["bez1", "bez3"], indirect=True)
def test_ik(self, walker: SoccerbotController):
walker.soccerbot.configuration[Links.RIGHT_LEG_1 : Links.RIGHT_LEG_6 + 1] = walker.soccerbot.inverseKinematicsRightFoot(
np.copy(walker.soccerbot.right_foot_init_position)
Expand All @@ -111,6 +112,7 @@ def test_ik(self, walker: SoccerbotController):
_ = _
pb.stepSimulation()

@pytest.mark.parametrize("walker", ["bez1", "bez3"], indirect=True)
def test_walk_1(self, walker: SoccerbotController):
walker.setPose(Transformation([0.0, 0, 0], [0, 0, 0, 1]))
walker.ready()
Expand Down

0 comments on commit 1204507

Please sign in to comment.