Commit 2f77c6e
authored
fix: update patch targets for create_post and create_text_post in tests
The tests were failing with an AttributeError because they were trying to patch
functions directly on the main module (main.create_post and main.create_text_post).
These functions actually reside as attributes of the app object (main.app.create_post
and main.app.create_text_post). This commit updates the patch targets accordingly.1 parent 11341b8 commit 2f77c6e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments