Skip to content

Commit

Permalink
Fix action worker test
Browse files Browse the repository at this point in the history
  • Loading branch information
luisa-beerboom committed Oct 16, 2024
1 parent 5c7e05f commit c5b7774
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/system/action/test_action_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,11 @@ def test_action_worker_create_action_worker_during_running_db_action(self) -> No
def thread_method(self: ActionWorkerTest) -> None:
with self.lock:
data = [
{"title": "boo", "username": "foo"} for i in range(1, self.number)
{"prefix": f"boo{i}", "name": f"foo{i}", "meeting_id": 222}
for i in range(1, self.number)
]
self.start1 = datetime.now()
self.request_multi("user.create", data)
self.request_multi("motion_category.create", data)
self.end1 = datetime.now()

thread = Thread(target=thread_method, args=(self,))
Expand Down

0 comments on commit c5b7774

Please sign in to comment.