We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07ab459 commit 58a294bCopy full SHA for 58a294b
tests/schema_simple.py
@@ -15,8 +15,6 @@
15
16
schema = dj.Schema(PREFIX + '_relational', locals(), connection=dj.conn(**CONN_INFO))
17
18
-faker.Faker.seed(0) # make deterministic
19
-
20
21
@schema
22
class IJ(dj.Lookup):
@@ -195,6 +193,7 @@ class Website(dj.Part):
195
193
196
194
def populate_random(self, n=10):
197
fake = faker.Faker()
+ faker.Faker.seed(0) # make tests deterministic
198
for _ in range(n):
199
profile = fake.profile()
200
with self.connection.transaction:
0 commit comments