PY-16170 Duration is not passed to tcmessages for pytest

This commit is contained in:
Ilya.Kazakevich
2015-09-11 17:50:30 +03:00
parent 5bcd056196
commit 8c4e9e1a58
4 changed files with 18 additions and 4 deletions

View File

@@ -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):

View File

@@ -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():