parent
							
								
									037d3a8fee
								
							
						
					
					
						commit
						e59af1e437
					
				@ -12,7 +12,7 @@ from django.urls import reverse
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
from compensation.models import Payment, EcoAccountDeduction
 | 
					from compensation.models import Payment, EcoAccountDeduction
 | 
				
			||||||
from intervention.models import Intervention
 | 
					from intervention.models import Intervention
 | 
				
			||||||
from konova.settings import DEFAULT_GROUP, ETS_GROUP, ZB_GROUP
 | 
					from konova.settings import ETS_GROUP, ZB_GROUP
 | 
				
			||||||
from konova.tests.test_views import BaseWorkflowTestCase
 | 
					from konova.tests.test_views import BaseWorkflowTestCase
 | 
				
			||||||
from user.models import UserActionLogEntry, UserAction
 | 
					from user.models import UserActionLogEntry, UserAction
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -26,7 +26,11 @@ class InterventionWorkflowTestCase(BaseWorkflowTestCase):
 | 
				
			|||||||
    def setUpTestData(cls):
 | 
					    def setUpTestData(cls):
 | 
				
			||||||
        super().setUpTestData()
 | 
					        super().setUpTestData()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        cls.intervention.share_with(cls.superuser)
 | 
					    def setUp(self) -> None:
 | 
				
			||||||
 | 
					        super().setUp()
 | 
				
			||||||
 | 
					        # Recreate a new (bare minimum) intervention before each test
 | 
				
			||||||
 | 
					        self.intervention = self.create_dummy_intervention()
 | 
				
			||||||
 | 
					        self.intervention.share_with(self.superuser)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_new(self):
 | 
					    def test_new(self):
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user