Commit 2a7436b
committed
fix(tests): correct patch paths for create_post and create_text_post
Resolved AttributeError in test_main.py by updating mock.patch targets to use the correct module path (src.app.* instead of main.app.*).
This ensures that create_post and create_text_post are properly mocked during CLI command tests.
* modified: tests/test_main.py
Signed-off-by: Muhammad Amin Boubaker <muhammadaminboubaker@gmail.com>1 parent 446e148 commit 2a7436b
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