PY-19738: test added

Run tests, then delete files, and try to rerun it. Message and exc. should be displayed
This commit is contained in:
Ilya.Kazakevich
2016-06-22 22:07:18 +03:00
parent 7392dfe9b7
commit 80ee4d0b71
5 changed files with 193 additions and 11 deletions

View File

@@ -0,0 +1,14 @@
__author__ = 'Ilya.Kazakevich'
import unittest
import time
class TestMe2(unittest.TestCase):
def test_pass(self):
time.sleep(1)
def test_raise(self):
raise ValueError
class TestMe(unittest.TestCase):
def test_pass2(self):
pass