-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_app.py
More file actions
32 lines (22 loc) · 781 Bytes
/
test_app.py
File metadata and controls
32 lines (22 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import unittest
#from Chapter01 import serial_test,multiprocessing_test,multithreading_test
class TestApp(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
# def test_00_serial(self):
# response = serial_test.serial_test()
# self.assertEqual(response, True)
#
# def test_01_multithreading(self):
# response = multithreading_test.multithreading_test()
# self.assertEqual(response, True)
#
# def test_02_multiprocessing(self):
# response = multiprocessing_test.multiprocessing_test()
# self.assertEqual(response, True)
def test_02_rolly_113040087(self):
from Chapter02.Rolly113040087 import main
response = main()
self.assertEqual(response, True)