def convert_ip_test(): assert models.convert_ip(2231231116) == '132.253.226.140' assert models.convert_ip(1) == '0.0.0.1'
def invalid_convert_ip_test(): models.convert_ip(-1) models.convert_ip(123213123123)