Skip to content

Replace factory.fuzzy by factory.Faker#9712

Closed
berinhard wants to merge 9 commits intopypi:mainfrom
berinhard:refactoring/deprecate-factory-fuzzy
Closed

Replace factory.fuzzy by factory.Faker#9712
berinhard wants to merge 9 commits intopypi:mainfrom
berinhard:refactoring/deprecate-factory-fuzzy

Conversation

@berinhard
Copy link
Copy Markdown
Contributor

Fixes #9707

This PR replaces deprecated factory.fuzzy calls by factory.Faker ones. A few comments about this PR:

  • At several places I used Faker("pystr") instead of more meaningful providers such as user_name. This is because a few tests broke due to unique constraints violations;
  • For some reason a few legacy tests are failing with no apparent reason to me. I spent some time investigating them, but couldn't figure out why. I decided to open this PR to get some help with them.

@ewjoachim
Copy link
Copy Markdown
Contributor

ewjoachim commented Jun 30, 2021

(I'll try to reproduce locally and give some insight on why tests fail, can't promise a when, but I'll do my best)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace factory.fuzzy calss in favor of factory.Faker

2 participants