Skip to content

Commit e7f78ae

Browse files
anapaulagomescodingjoe
authored andcommitted
Replace model_mommy by model_bakery
1 parent 3bd5a23 commit e7f78ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ Samples
7070
7171
- name: db fixtures
7272
pattern: 'def test_[^(]+\([^)]*(customer|product)(, |\))'
73-
hint: Use model_mommy recipies instead of db fixtures.
73+
hint: Use model_bakery recipies instead of db fixtures.
7474
filePattern: test_.*\.py
7575
76-
- name: model_mommy recipies
77-
pattern: mommy\.make\(
78-
hint: Please use mommy.make_recipe instead of mommy.make.
76+
- name: model_bakery recipies
77+
pattern: baker\.make\(
78+
hint: Please use baker.make_recipe instead of baker.make.
7979
filePattern: (test_.*|conftest)\.py
8080
8181
- name: the database is lava
8282
pattern: '@pytest.fixture.*\n[ ]*def [^(]+\([^)]*(db|transactional_db)(, |\))'
83-
hint: Please do not create db fixtures but model_mommy recipies instead.
83+
hint: Please do not create db fixtures but model_bakery recipies instead.
8484
filePattern: .*\.py
8585
8686
- name: No logger in management commands

0 commit comments

Comments
 (0)