def test_empty_peer(self): """ Test that an empty peer list works correctly. """ self.n = tracker.make_peer_list([]) self.assertEqual(self.n, [])