Skip to content

Commit

Permalink
two more stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Mar 4, 2017
1 parent e02f49f commit c4a9bd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rsqueakvm/test/test_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ def stub_sdl(monkeypatch):
monkeypatch.setattr(RSDL, "Quit", lambda: 0)
monkeypatch.setattr(RSDL, "LockTexture", lambda a,b,c,d: 0)
monkeypatch.setattr(RSDL, "UnlockTexture", lambda a: 0)
monkeypatch.setattr(RSDL, "RenderCopy", lambda a,b,c,d: 0)
monkeypatch.setattr(RSDL, "RenderPresent", lambda a: 0)

@pytest.fixture
def mocked_sdl_event_queue(monkeypatch):
Expand Down

0 comments on commit c4a9bd9

Please sign in to comment.