diff options
author | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2002-09-23 06:53:09 +0000 |
---|---|---|
committer | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2002-09-23 06:53:09 +0000 |
commit | d9c0eab4edadb68c1a35898b68aebfe839dee7d0 (patch) | |
tree | 305924425cd5ae79d9c0119fe34630c1720a7a9c | |
parent | 759dd6f2ff470f7adbf9ee0a677b536ef14a1235 (diff) | |
download | pexpect-d9c0eab4edadb68c1a35898b68aebfe839dee7d0.tar.gz |
Test based on / is not a good idea. I made the test look at /bin.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@80 656d521f-e311-0410-88e0-e7920216d269
-rwxr-xr-x | pexpect/tests/test_constructor.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pexpect/tests/test_constructor.py b/pexpect/tests/test_constructor.py index 4c11079..85262fe 100755 --- a/pexpect/tests/test_constructor.py +++ b/pexpect/tests/test_constructor.py @@ -10,11 +10,10 @@ class TestCaseConstructor(unittest.TestCase): 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 /') - p2 = pexpect.spawn('/bin/ls' ,['-l', '/']) + p1 = pexpect.spawn('/bin/ls -l /bin') + p2 = pexpect.spawn('/bin/ls' ,['-l', '/bin']) p1.expect (pexpect.EOF) p2.expect (pexpect.EOF) - assert (p1.before == p2.before) def test_named_parameters (self): |