blob: 9375feee53ed8680132e1e095354bf742fd5157c [file] [log] [blame]
Sathyajith M Se6956c02017-08-16 01:50:17 -05001#!/usr/bin/python
2
3r"""
4This is an extended user library to support Robot Selenium code.
5The class contains functions which the robot framework will use
6and import as a user-defined keyword.
7"""
8
9import socket
10
Gunnar Mills096cd562018-03-26 10:19:12 -050011
Sathyajith M Se6956c02017-08-16 01:50:17 -050012class supporting_libs():
13
14 def get_hostname_from_ip_address(self, ip):
15 return socket.gethostbyaddr(ip)[0]