1 parent 653a7ce commit 0874eadCopy full SHA for 0874ead
2 files changed
src/apitist/random.py
@@ -110,7 +110,7 @@ def add_types(
110
def add_predefined(self, **kwargs):
111
try:
112
import faker
113
- except ImportError:
+ except ModuleNotFoundError:
114
raise ImportError(
115
"Please pre-install Faker:"
116
"\n\tpip install -e 'apitist[random]'"
tox.ini
@@ -15,4 +15,5 @@ commands =
15
py.test {posargs}
16
extras =
17
all
18
+ random
19
testing
0 commit comments