Skip to content

Commit

Permalink
Fix mock test
Browse files Browse the repository at this point in the history
  • Loading branch information
dyohan9 committed Apr 15, 2021
1 parent 7511853 commit 369d64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weni/api/v1/tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def request(self, data, token=None):
content_data = json.loads(response.content)
return (response, content_data)

@patch("weni.common.tasks.create_organization.delay")
@patch("weni.common.tasks.create_project.delay")
def test_okay(self, task_create_project):
task_create_project.return_value.result = {"uuid": uuid4.uuid4()}
response, content_data = self.request(
Expand Down

0 comments on commit 369d64a

Please sign in to comment.