-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunit_test_methods.py
More file actions
31 lines (28 loc) · 877 Bytes
/
Copy pathunit_test_methods.py
File metadata and controls
31 lines (28 loc) · 877 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
import unittest
def setUpModule():
print('Module Started ')
def tearDownModule():
print('Module Ended')
class Test_unitTest_method(unittest.TestCase):
@classmethod
def setUpClass(cls):
print("Application started ")
@classmethod
def tearDownClass(cls):
print('Application Closed ')
@classmethod
def setUp(cls):
print('Log in to application...')
@classmethod
def tearDown(cls):
print('Log out from the page ...')
def test_search(self):
print('Normal search started and successfull ...')
def test_advanced_search(self):
print('Advanced search started and successfull ...')
def test_Prepaid(self):
print('Preapaid started and successfull ...')
def test_Post(self):
print('PostPaid started and successfull ...')
if __name__ == "__main__":
unittest.main()