tests: Skip Gnuk only tests.
This commit is contained in:
6
tests/skip_gnuk_only_tests.py
Normal file
6
tests/skip_gnuk_only_tests.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import pytest
|
||||||
|
|
||||||
|
@pytest.fixture(scope="module",autouse=True)
|
||||||
|
def check_gnuk(card):
|
||||||
|
if not card.is_gnuk:
|
||||||
|
pytest.skip("Gnuk only feature", allow_module_level=True)
|
||||||
@@ -20,6 +20,8 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from skip_gnuk_only_tests import *
|
||||||
|
|
||||||
from card_test_personalize_admin_less import *
|
from card_test_personalize_admin_less import *
|
||||||
from card_test_personalize_reset import *
|
from card_test_personalize_reset import *
|
||||||
from card_test_remove_keys import *
|
from card_test_remove_keys import *
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ You should have received a copy of the GNU General Public License
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from skip_gnuk_only_tests import *
|
||||||
|
|
||||||
from card_test_kdf_single import *
|
from card_test_kdf_single import *
|
||||||
from card_test_personalize_card import *
|
from card_test_personalize_card import *
|
||||||
from card_test_personalize_reset import *
|
from card_test_personalize_reset import *
|
||||||
|
|||||||
Reference in New Issue
Block a user