summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorcliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-08-03 22:28:45 +0000
committercliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-08-03 22:28:45 +0000
commitd47163b89b9ba903b43f83c587ccf7689826c66a (patch)
tree001278e393f281d507582ecc8eea8e7f5a5e2d23 /examples
parentf7959af448485016abdce23f7e2d636b1a975983 (diff)
downloadpyserial-d47163b89b9ba903b43f83c587ccf7689826c66a.tar.gz
increase delay for RTS/DTR tests to handle slower RFC2217 servers
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@284 f19166aa-fa4f-0410-85c2-fa1106f25c8a
Diffstat (limited to 'examples')
-rw-r--r--examples/test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/test.py b/examples/test.py
index 7f72741..0c71fd0 100644
--- a/examples/test.py
+++ b/examples/test.py
@@ -167,19 +167,19 @@ class Test0_DataWires(unittest.TestCase):
def test1_RTS(self):
"""Test RTS/CTS"""
self.s.setRTS(0)
- time.sleep(0.1)
+ time.sleep(01.1)
self.failUnless(not self.s.getCTS(), "CTS -> 0")
self.s.setRTS(1)
- time.sleep(0.1)
+ time.sleep(01.1)
self.failUnless(self.s.getCTS(), "CTS -> 1")
def test2_DTR(self):
"""Test DTR/DSR"""
self.s.setDTR(0)
- time.sleep(0.1)
+ time.sleep(01.1)
self.failUnless(not self.s.getDSR(), "DSR -> 0")
self.s.setDTR(1)
- time.sleep(0.1)
+ time.sleep(01.1)
self.failUnless(self.s.getDSR(), "DSR -> 1")
def test3_RI(self):