def get_local_ip(message): log.info("Handling command get local ip - %s" % message.text) bot.reply_to(message, utils.get_local_ip())
def test_get_local_ip(self): self.assertRegex(utils.get_local_ip(), self.ip_regex)