zephyr/scripts/tests/twister/test_mixins.py
Lukasz Mrugala 0af7770132 scripts: tests: twister: Mixin test
Simple test checking whether our method for skipping unwanted
test classes works.

Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
2023-09-06 09:40:38 -04:00

19 lines
339 B
Python

#!/usr/bin/env python3
# Copyright (c) 2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
"""
Tests for the mixins class
"""
import os
import pytest
def test_disable_pytest_test_collection(test_data):
test_path = os.path.join(test_data, 'mixins')
return_code = pytest.main([test_path])
assert return_code == 5