def test_should_return_value_and_errors(self, basic_form):
    form = basic_form(first_name=None, last_name='Musterfrau')
    props = form_fields_dict(form)
    assert (props == {'first_name': {'value': '', 'errors': ['This field is required.']}, 'last_name': {'value': 'Musterfrau', 'errors': []}})
def test_should_return_value_and_errors(self, basic_form):
    form = basic_form(first_name=None, last_name='Musterfrau')
    props = form_fields_dict(form)
    assert (props == {'first_name': {'value': , 'errors': ['This field is required.']}, 'last_name': {'value': 'Musterfrau', 'errors': []}})