Skip to content

Commit

Permalink
feat: update faker
Browse files Browse the repository at this point in the history
  • Loading branch information
klen committed Jan 11, 2021
1 parent 03cbda3 commit 0e294ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Faker == 4.0.0
Faker >= 5.4.0
3 changes: 3 additions & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ def test_ctx():
mixer.blend(Test)
assert LOGGER.level != level

dw = mixer.faker.day_of_week()
assert dw[0] in 'MTWFS'

with mixer.ctx(locale='ru'):
dw = mixer.faker.day_of_week()
assert dw[0] in 'ПВСЧ'
Expand Down

0 comments on commit 0e294ea

Please sign in to comment.