Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import consol_run_parameter as run_parameter
- class Base_Test1:
- CONST_1 = Undefine()
- CONST_2 = Undefine()
- ADITIONAL_FUNCIONALITY = []
- def check_requirements(self):
- pass
- def setup_class(cls):
- if run_parameter.security:
- # przyjmij do testu inne ilimity, wyrocznie itp
- # wykonaj dodatkowe metody
- pass
- def setup(self):
- pass
- def teardown_class(cls):
- pass
- def teardown(self):
- pass
- def _test_check_feature(self):
- pass
- # product a
- class Test_1(Base_Test1):
- CONST_1 = 1
- CONST_2 = 2
- def setup_class(cls):
- pass
- def setup(self):
- pass
- def teardown(self):
- pass
- def teardown(self):
- pass
- def test_check_feature(self):
- # zrob cos specyficznego dla tego produktu
- Base_Test1._test_check_feature()
- # uruchomienie bez funkcjonalnsci
- # python Test_1
- # uruchomienie z funkcjonalnicia
- # python Test_1 -security
- # funcjonalnosc security moze miec wiele produktow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement