You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ruby/tests/ruby_tests.py

27 lines
463 B

#!/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()