summaryrefslogtreecommitdiff
path: root/bgproc_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'bgproc_tests.py')
-rw-r--r--bgproc_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgproc_tests.py b/bgproc_tests.py
index 5dbe53c..17bc4fc 100644
--- a/bgproc_tests.py
+++ b/bgproc_tests.py
@@ -38,3 +38,6 @@ class BackgroundProcessingTests(unittest.TestCase):
def test_wait_for_results_returns_false_initially(self):
self.assertEqual(self.bg.wait_for_results(), False)
+ def test_iterates_to_empty_list_initially(self):
+ self.assertEqual(list(self.bg), [])
+