diff --git a/ugly_hacks/santiago/test_santiago.py b/ugly_hacks/santiago/test_santiago.py index d7d449669..c409df02c 100644 --- a/ugly_hacks/santiago/test_santiago.py +++ b/ugly_hacks/santiago/test_santiago.py @@ -99,6 +99,13 @@ class TestServing(SantiagoTest): self.assertEqual(self.sender.send(), expected) + def test_handle_requests_once(self): + """Verify that we send each request out only once.""" + + self.listener.serve("0x2", "wiki", "0x1", 0, None) + self.sender.send() + + self.assertEqual(self.sender.send(), list()) class TestConsuming(SantiagoTest): """TODO: tests for: