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