summaryrefslogtreecommitdiff
path: root/tests/test_constructor.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_constructor.py')
-rwxr-xr-xtests/test_constructor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_constructor.py b/tests/test_constructor.py
index 8a98c28..a7a427f 100755
--- a/tests/test_constructor.py
+++ b/tests/test_constructor.py
@@ -29,11 +29,11 @@ class TestCaseConstructor(PexpectTestCase.PexpectTestCase):
the same results for different styles of invoking __init__().
This assumes that the root directory / is static during the test.
'''
- p1 = pexpect.spawn('/bin/ls -l /bin')
- p2 = pexpect.spawn('/bin/ls' ,['-l', '/bin'])
+ p1 = pexpect.spawn('/bin/ls -i /bin')
+ p2 = pexpect.spawn('/bin/ls' ,['-i', '/bin'])
p1.expect (pexpect.EOF)
p2.expect (pexpect.EOF)
- assert (p1.before == p2.before)
+ assert (p1.before == p2.before), (p1.before, p2.before)
def test_named_parameters (self):
'''This tests that named parameters work.