예제 #1
0
파일: ssh.py 프로젝트: rananda/cfme_tests
 def get_build_datetime(self):
     command = "stat --printf=%Y /var/www/miq/vmdb/VERSION"
     return parsetime.fromtimestamp(int(self.run_command(command).output.strip()))
예제 #2
0
파일: ssh.py 프로젝트: slouderm/cfme_tests
def build_datetime_getter(client):
    command = "stat --printf=%Y /var/www/miq/vmdb/VERSION"
    x, build_seconds = command_runner(client, command, stream_output=False)
    return parsetime.fromtimestamp(int(build_seconds.strip()))
예제 #3
0
파일: ssh.py 프로젝트: pavelzag/cfme_tests
 def get_build_datetime(self):
     command = "stat --printf=%Y /var/www/miq/vmdb/VERSION"
     return parsetime.fromtimestamp(int(self.run_command(command).output.strip()))
예제 #4
0
def build_datetime_getter(client):
    command = "stat --printf=%Y /var/www/miq/vmdb/VERSION"
    x, build_seconds = command_runner(client, command, stream_output=False)
    return parsetime.fromtimestamp(int(build_seconds.strip()))