Add 'os_dependent' marker to tests
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
@@ -22,6 +22,7 @@ from test_utils.size import Size, Unit
|
||||
mount_point = "/mnt/test"
|
||||
|
||||
|
||||
@pytest.mark.os_dependent
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
|
||||
@pytest.mark.parametrizex("runlevel", [Runlevel.runlevel5, Runlevel.runlevel3])
|
||||
|
||||
@@ -3,12 +3,15 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
#
|
||||
|
||||
import pytest
|
||||
|
||||
from api.cas import cas_module, casctl
|
||||
from api.cas.cas_module import CasModule
|
||||
from core.test_run import TestRun
|
||||
from test_utils import os_utils
|
||||
|
||||
|
||||
@pytest.mark.os_dependent
|
||||
def test_init_status():
|
||||
"""
|
||||
title: CAS management device status
|
||||
|
||||
@@ -22,6 +22,7 @@ mountpoint = "/mnt"
|
||||
filepath = f"{mountpoint}/file"
|
||||
|
||||
|
||||
@pytest.mark.os_dependent
|
||||
@pytest.mark.remote_only
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
|
||||
|
||||
Reference in New Issue
Block a user