serve tests: test_hy4_flash skips under the minimal serving runtime check (no pytest there)

This commit is contained in:
Niko1221 committed 2026-12-02 08:17:15 +01:00
1 parent 70ac2f2464
commit 03bb4f48ba
1 file changed
+5 -1
+5 -1
View File
@@ -6,9 +6,13 @@ import json
import struct
import threading
from pathlib import Path
import unittest
from unittest import mock
import pytest
try:
import pytest
except ImportError: # the minimal serving runtime check runs unittest with the runtime requirements only
raise unittest.SkipTest("needs pytest (fixtures and parametrize)")
from serve import frontend, hytk
from serve.hy4_flash_pictures import Hy4FlashPictures