File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 3636import logging
3737from collections import OrderedDict
3838
39- from django import VERSION
40- from django import forms
39+ from django import VERSION , forms
4140from django .contrib .postgres .utils import prefix_validation_error
4241from django .utils .translation import ugettext as _
4342
Original file line number Diff line number Diff line change @@ -123,6 +123,10 @@ def test_null_initial_data(self):
123123 str (form ['simple_field' ]))
124124
125125 def test_value_omission_check_inside_widget (self ):
126+ """
127+ Assert that CompositeTypeWidget.value_omitted_from_data function
128+ will return False when passing valid data.
129+ """
126130 form = self .SimpleForm ()
127131 widget = form .fields ['simple_field' ].widget
128132 self .assertFalse (
You can’t perform that action at this time.
0 commit comments