Add 'os_dependent' marker to tests

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
Slawomir Jankowski
2020-08-12 15:39:03 +02:00
parent abf98d798e
commit 4b39811c43
14 changed files with 30 additions and 0 deletions

View File

@@ -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])

View File

@@ -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

View File

@@ -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"))