Skip to content

Commit e674d38

Browse files
set random seed for faker tests
1 parent 71adede commit e674d38

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Add - Expose proxy feature for S3 external stores (#961) PR #962
88
* Bugfix - Dependencies not properly loaded on populate. (#902) PR #919
99
* Bugfix - Replace use of numpy aliases of built-in types with built-in type. (#938) PR #939
10-
* Bugfix - Deletes and drops must include the master of each part. (#151 and #374) PR #957
10+
* Bugfix - Deletes and drops must include the master of each part. (#151, #374) PR #957
1111
* Bugfix - `ExternalTable.delete` should not remove row on error (#953) PR #956
1212
* Bugfix - Fix error handling of remove_object function in `s3.py` (#952) PR #955
1313
* Bugfix - Fix regression issue with `DISTINCT` clause and `GROUP_BY` (#914) PR #963
@@ -134,7 +134,7 @@
134134
* Fix #628 - incompatibility with pyparsing 2.4.1
135135

136136
### 0.11.1 -- Nov 15, 2018
137-
* Fix ordering of attributes in proj (#483 and #516)
137+
* Fix ordering of attributes in proj (#483, #516)
138138
* Prohibit direct insert into auto-populated tables (#511)
139139

140140
### 0.11.0 -- Oct 25, 2018

docs-parts/intro/Releases_lang1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Add - Expose proxy feature for S3 external stores (#961) PR #962
77
* Bugfix - Dependencies not properly loaded on populate. (#902) PR #919
88
* Bugfix - Replace use of numpy aliases of built-in types with built-in type. (#938) PR #939
9-
* Bugfix - Deletes and drops must include the master of each part. (#151 and #374) PR #957
9+
* Bugfix - Deletes and drops must include the master of each part. (#151, #374) PR #957
1010
* Bugfix - `ExternalTable.delete` should not remove row on error (#953) PR #956
1111
* Bugfix - Fix error handling of remove_object function in `s3.py` (#952) PR #955
1212
* Bugfix - Fix sql code generation to comply with sql mode ``ONLY_FULL_GROUP_BY`` (#916) PR #965
@@ -141,7 +141,7 @@
141141

142142
0.11.1 -- Nov 15, 2018
143143
----------------------
144-
* Fix ordering of attributes in proj (#483 and #516)
144+
* Fix ordering of attributes in proj (#483, #516)
145145
* Prohibit direct insert into auto-populated tables (#511)
146146

147147
0.11.0 -- Oct 25, 2018

tests/schema_simple.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ class Website(dj.Part):
192192
"""
193193

194194
def populate_random(self, n=10):
195+
faker.Faker.seed(0)
195196
fake = faker.Faker()
196197
faker.Faker.seed(0) # make tests deterministic
197198
for _ in range(n):

0 commit comments

Comments
 (0)