Commit d7f761d1 authored by Łukasz Nowak's avatar Łukasz Nowak

- check that lynx and w3x work


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36425 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 722ef57f
......@@ -167,6 +167,18 @@ class AssertSoftwareRunable(unittest.TestCase):
error_list.append(binary)
self.assertEqual([], error_list)
def test_w3m(self):
stdout, stderr = subprocess.Popen(["parts/w3m/bin/w3m", "-V"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
self.assertEqual(stderr, '')
self.assertTrue(stdout.startswith('w3m version w3m/0.5.2'))
def test_lynx(self):
stdout, stderr = subprocess.Popen(["parts/lynx/bin/lynx", "-version"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
self.assertEqual(stderr, '')
self.assertTrue(stdout.startswith('Lynx Version 2.8.7'))
class AssertApache(unittest.TestCase):
"""Tests for built apache"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment