Loading tests/postgres_tests/test_hstore.py +2 −1 Original line number Diff line number Diff line import json from django.core import exceptions, serializers from django.forms import Form from . import PostgresSQLTestCase from .models import HStoreModel Loading Loading @@ -179,7 +180,7 @@ class TestFormField(PostgresSQLTestCase): self.assertIsInstance(form_field, forms.HStoreField) def test_empty_field_has_not_changed(self): class HStoreFormTest(forms.Form): class HStoreFormTest(Form): f1 = HStoreField() form_w_hstore = HStoreFormTest() self.assertFalse(form_w_hstore.has_changed()) Loading Loading
tests/postgres_tests/test_hstore.py +2 −1 Original line number Diff line number Diff line import json from django.core import exceptions, serializers from django.forms import Form from . import PostgresSQLTestCase from .models import HStoreModel Loading Loading @@ -179,7 +180,7 @@ class TestFormField(PostgresSQLTestCase): self.assertIsInstance(form_field, forms.HStoreField) def test_empty_field_has_not_changed(self): class HStoreFormTest(forms.Form): class HStoreFormTest(Form): f1 = HStoreField() form_w_hstore = HStoreFormTest() self.assertFalse(form_w_hstore.has_changed()) Loading