Skip to content

Commit

Permalink
skip manual mode testing
Browse files Browse the repository at this point in the history
Signed-off-by: SoohyeokPark-MORAI <shpark.morai@gmail.com>
  • Loading branch information
SoohyeokPark-MORAI committed Jul 27, 2022
1 parent 3aed36e commit cbb2b37
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import pytest
from simulator_compatibility_test.publishers.control_mode_command import (
ControlModeCommand_Constants,
)
Expand All @@ -6,7 +7,13 @@


class Test01ControlModeAndReportMorai(Test01ControlModeAndReportBase):
def test_1_auto_mode(self, setup_method):
@pytest.mark.skip(reason="manual mode is not required for now")
def test_1_manual_mode(self, setup_method):
self.set_control_mode(ControlModeCommand_Constants.MANUAL)
result = self.get_control_mode_report()
assert result == ControlModeReport_Constants.MANUAL.value

def test_2_auto_mode(self, setup_method):
self.set_control_mode(ControlModeCommand_Constants.AUTONOMOUS)
result = self.get_control_mode_report()
assert result == ControlModeReport_Constants.AUTONOMOUS.value
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import pytest
from simulator_compatibility_test.publishers.control_mode_command import (
ControlModeCommand_Constants,
)
Expand All @@ -6,7 +7,13 @@


class Test01ControlModeAndReportSim(Test01ControlModeAndReportBase):
def test_1_auto_mode(self, setup_method):
@pytest.mark.skip(reason="manual mode is not required for now")
def test_1_manual_mode(self, setup_method):
self.set_control_mode(ControlModeCommand_Constants.MANUAL)
result = self.get_control_mode_report()
assert result == ControlModeReport_Constants.MANUAL.value

def test_2_auto_mode(self, setup_method):
self.set_control_mode(ControlModeCommand_Constants.AUTONOMOUS)
result = self.get_control_mode_report()
assert result == ControlModeReport_Constants.AUTONOMOUS.value

0 comments on commit cbb2b37

Please sign in to comment.