mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 23:08:36 +00:00
serve tests: test_hy4_flash skips under the minimal serving runtime check (no pytest there)
This commit is contained in:
1 parent
70ac2f2464
commit
03bb4f48ba
1 file changed
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user