fix: dev: Make hypothesis optional for system tests

Ensure that system tests can be executed without Python hypothesis
package.

Closes #4831

Merge branch '4831-isctest-make-hypothesis-optional' into 'main'

Closes #4831

See merge request isc-projects/bind9!9265
This commit is contained in:
Petr Špaček
2024-08-07 10:55:21 +00:00

View File

@@ -9,5 +9,10 @@
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
from . import settings
from . import strategies
try:
import hypothesis as _
except ImportError:
pass
else:
from . import settings
from . import strategies