python for mysql test