summaryrefslogtreecommitdiff
path: root/tests/test_constructor.py
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2014-05-25 09:20:33 -0700
committerjquast <contact@jeffquast.com>2014-05-25 09:20:33 -0700
commite4d63327d2d4890b1ef549f87f0a137e6fa7eb94 (patch)
treebccb3f0614ea282a63e5d57886d02ea95d961ab7 /tests/test_constructor.py
parent78b16ad8f06ce20b5274a7a7c17f3a8a042edd46 (diff)
downloadpexpect-issue-20-try-2.tar.gz
more naughty attempts, cleaning up, as not to loseissue-20-try-2
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.