Skip to content

Commit 98faf18

Browse files
committed
Try putting sleep in tests
to see if it prevents intermittent failures
1 parent a89e721 commit 98faf18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎test_docverter.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import os
44
import tempfile
5+
import time
56
import unittest
67

78
import docverter
@@ -22,6 +23,9 @@ def processor(*args):
2223

2324

2425
class TestDocverter(unittest.TestCase):
26+
def setUp(self):
27+
time.sleep(2)
28+
2529
def test_converts_valid_format(self):
2630
self.assertEqual(_test_converter(format='md', to='rest'), 'ok')
2731

0 commit comments

Comments
 (0)