Skip to content

Commit

Permalink
fix formatting of python block
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Feb 28, 2023
1 parent 4ea006c commit 1240319
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ from tests import run_coroutine
class TestExample(TestCase):
"""Example test case"""
"""Example test case"""
@patch("xthulu.some_package.a_different_asynchronous_method")
def test_something_asynchronous(self, mock_method: AsyncMock):
result = run_coroutine(some_asynchronous_method())
@patch("xthulu.some_package.a_different_asynchronous_method")
def test_something_asynchronous(self, mock_method: AsyncMock):
result = run_coroutine(some_asynchronous_method())
assert result == "expected result"
mock_method.assert_awaited_once()
assert result == "expected result"
mock_method.assert_awaited_once()
```

</details>
Expand Down

0 comments on commit 1240319

Please sign in to comment.