def METHOD_NAME(self):
    # Test compare_digest functionality with equal (byte/text) strings.
    for s in ("a", "bcd", "xyz123"):
        a = s*100
        b = s*100
        self.assertTrue(secrets.compare_digest(a, b))
        self.assertTrue(secrets.compare_digest(a.encode('utf-8'), b.encode('utf-8')))