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