Files
openide/python/testData/testRunner/env/pytest/test1.py
T
Ilya.Kazakevich afc171d39c Flaky test fixed
Due to precision sleep(1000) may actually take 998 and lead to test error.
2016-07-21 17:58:32 +03:00

12 lines
209 B
Python

from time import sleep
class TestPyTest:
def testOne(self):
sleep(1.5) # To check duration
assert 4 == 2*2
def testTwo(self):
assert True
def testThree():
assert 4 == 2*2