f319e135b7
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
27 lines
463 B
Python
27 lines
463 B
Python
#!/usr/bin/python
|
|
|
|
import socket
|
|
from avocado import main
|
|
from moduleframework import module_framework
|
|
|
|
class RubyTests(module_framework.AvocadoTest):
|
|
"""
|
|
:avocado: enable
|
|
"""
|
|
|
|
def test_cmd(self):
|
|
self.start()
|
|
self.run("which ruby")
|
|
|
|
def test_version(self):
|
|
self.start()
|
|
self.run("ruby -v")
|
|
|
|
def test_hostname(self):
|
|
self.start()
|
|
self.run("hostname")
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|