mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
PY-16170 Duration is not passed to tcmessages for pytest
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
from time import sleep
|
||||
class TestPyTest:
|
||||
def testOne(self):
|
||||
sleep(1) # To check duration
|
||||
assert 4 == 2*2
|
||||
|
||||
def testTwo(self):
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from time import sleep
|
||||
class TestPyTest:
|
||||
def testOne(self):
|
||||
print("I am test1")
|
||||
@@ -8,6 +9,7 @@ class TestPyTest:
|
||||
|
||||
def testFail(self):
|
||||
print("I will fail")
|
||||
sleep(1) # To check duration
|
||||
assert False
|
||||
|
||||
def testThree():
|
||||
|
||||
Reference in New Issue
Block a user