mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-12-07 02:00:37 +07:00
Due to precision sleep(1000) may actually take 998 and lead to test error.
12 lines
209 B
Python
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
|