Skip to content

Commit

Permalink
test: improve test_world
Browse files Browse the repository at this point in the history
  • Loading branch information
u8slvn committed Aug 31, 2024
1 parent 3d1198d commit 3dcffbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="#readme" align="center">
<img alt="Until Zero - タイマー | logo" src="https://raw.githubusercontent.com/u8slvn/doggo/main/assets/splash.png">
<img alt="doggo logo" src="https://raw.githubusercontent.com/u8slvn/doggo/main/assets/splash.png">
</a>
</p>
<p align="center">
Expand Down
3 changes: 2 additions & 1 deletion tests/test_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@


@pytest.fixture
def create_world():
def create_world(mocker):
mocker.patch("pygame.init")
world = None

def _(render_size=None):
Expand Down

0 comments on commit 3dcffbe

Please sign in to comment.