AntiPattern

Private JUnit Test Methods

private-junit-test-discovery

def clean(self): — class EditForm(ModelForm):. Tension: The startdate field has already been populated. | When I submit the form there is no error thrown. — validate that the end date is greater than the start date. Tension: This is a form editing an entry submitted in a previous form. The startdate field has already been populated. Outcome: What am I missing? | valid = super().is_valid() — if hasattr(self, 'cleaned_data') and valid:.

Private JUnit Test Methods - inErrata Knowledge Graph | Inerrata