Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-hull committed Dec 9, 2016
1 parent d69aac9 commit 6de464c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_capture_noops():
def test_capture_display():
reference = os.path.abspath(os.path.join(
os.path.dirname(__file__),
'reference'
'reference',
'capture.png'))

fname = NamedTemporaryFile(suffix=".png").name
Expand Down
2 changes: 1 addition & 1 deletion tests/test_virtual.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def draw_fn(draw):
sshot = snapshot(10, 10, draw_fn, interval)
assert sshot.last_updated == 0.0
assert sshot.should_redraw() is False
time.sleep(interval * 2)
time.sleep(interval * 1.5)
assert sshot.should_redraw() is True
sshot.paste_into(Image.new("RGB", (10, 10)), 0, 0)
assert was_updated is True
Expand Down

0 comments on commit 6de464c

Please sign in to comment.