We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e27c5a commit 99b953fCopy full SHA for 99b953f
1 file changed
backend/tests/test_tools_writing.py
@@ -103,7 +103,8 @@ async def test_writes_section(self):
103
104
class TestGetDraft:
105
async def test_no_project(self):
106
- from unittest.mock import patch, AsyncMock
+ from unittest.mock import AsyncMock, patch
107
+
108
from openmlr.tools.writing import _projects
109
_projects.clear()
110
# Mock _get_author_info to avoid database calls
@@ -112,7 +113,8 @@ async def test_no_project(self):
112
113
assert ok is False
114
115
async def test_generates_draft(self):
116
117
118
119
120
_create_project(conv_id=1, title="The Paper")
0 commit comments