

@unpack
@data((None, Orientation.front), (None, Orientation.left), (0, Orientation.left), (0, Orientation.right), (1, Orientation.front), (10, Orientation.back), (100, Orientation.middle))
def test_should_pass_when_orientation_is_correct(self, position, orientation):
    self.dc_asset.position = position
    self.dc_asset.orientation = orientation
    self.dc_asset._validate_orientation()

dataset/ETHPy150Open allegro/ralph/src/ralph/data_center/tests/test_models.py DataCenterAssetTest.test_should_pass_when_orientation_is_correct/original