@@ -300,7 +300,7 @@ def test_start_trial_ui_display(self):
300300 assert res .status_code == 200
301301 assert "Extending trial for:" in str (res .content )
302302
303- @patch ("plan.service.PlanService.start_trial_manually" )
303+ @patch ("shared. plan.service.PlanService.start_trial_manually" )
304304 def test_start_trial_action (self , mock_start_trial_service ):
305305 mock_start_trial_service .return_value = None
306306 org_to_be_trialed = OwnerFactory ()
@@ -317,7 +317,7 @@ def test_start_trial_action(self, mock_start_trial_service):
317317 assert res .status_code == 302
318318 assert mock_start_trial_service .called
319319
320- @patch ("plan.service.PlanService._start_trial_helper" )
320+ @patch ("shared. plan.service.PlanService._start_trial_helper" )
321321 def test_extend_trial_action (self , mock_start_trial_service ):
322322 mock_start_trial_service .return_value = None
323323 org_to_be_trialed = OwnerFactory ()
@@ -337,7 +337,7 @@ def test_extend_trial_action(self, mock_start_trial_service):
337337 assert mock_start_trial_service .called
338338 assert mock_start_trial_service .call_args .kwargs == {"is_extension" : True }
339339
340- @patch ("plan.service.PlanService.start_trial_manually" )
340+ @patch ("shared. plan.service.PlanService.start_trial_manually" )
341341 def test_start_trial_paid_plan (self , mock_start_trial_service ):
342342 mock_start_trial_service .side_effect = ValidationError (
343343 "Cannot trial from a paid plan"
0 commit comments