summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crocoite/test_browser.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/crocoite/test_browser.py b/crocoite/test_browser.py
index 92d9676..9d37efb 100644
--- a/crocoite/test_browser.py
+++ b/crocoite/test_browser.py
@@ -192,7 +192,11 @@ def test_invalidurl (loader):
url = 'http://nonexistent.example/'
with loader (url) as l:
l.start ()
+
q = l.queue
+ if not l.notify.wait (10):
+ assert False, 'timeout'
+
it = q.popleft ()
assert it.failed