1111from allure_commons .model2 import TestStepResult
1212from allure_commons .model2 import TestBeforeResult , TestAfterResult
1313from allure_commons .model2 import TestResultContainer
14- from allure_commons .model2 import Status , Parameter , Label
14+ from allure_commons .model2 import Parameter , Label
1515from allure_behave .utils import scenario_parameters
1616from allure_behave .utils import scenario_severity
1717from allure_behave .utils import scenario_tags
2323from allure_behave .utils import get_status , get_status_details
2424
2525
26-
2726BEFORE_FIXTURES = ['before_all' , 'before_tag' , 'before_feature' , 'before_scenario' ]
2827AFTER_FIXTURES = ['after_all' , 'after_tag' , 'after_feature' , 'after_scenario' ]
2928FIXTURES = BEFORE_FIXTURES + AFTER_FIXTURES
@@ -162,7 +161,6 @@ def stop_step(self, uuid, exc_type, exc_val, exc_tb):
162161 status = get_status (exc_val ),
163162 statusDetails = get_status_details (exc_type , exc_val , exc_tb ))
164163
165-
166164 @allure_commons .hookimpl
167165 def attach_data (self , body , name , attachment_type , extension ):
168166 self .logger .attach_data (uuid4 (), body , name = name , attachment_type = attachment_type , extension = extension )
@@ -185,4 +183,3 @@ def enter(self, _list=list()):
185183 def exit (self ):
186184 gone , self [:] = self [:], self ._stack .pop ()
187185 return gone
188-
0 commit comments