def test_generate(self): x = [] for i in range(5): id_ = amf3.generate_random_id() self.assertTrue(id_ not in x) x.append(id_)