#24844: HStore Form Field falsely report has_changed
----------------------------------+------------------------------------
     Reporter:  RamezIssac        |                    Owner:
         Type:  Bug               |                   Status:  new
    Component:  contrib.postgres  |                  Version:  1.8
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  1                 |                    UI/UX:  1
----------------------------------+------------------------------------
Changes (by andreagrandi):

 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 Triaged in this example project https://github.com/andreagrandi/django-
 ticket-24844
 Running the tests with: python manage.py test
 they fails with:


 {{{
 (django18)➜  ticket_24844_hstore git:(master) python manage.py test
 Creating test database for alias 'default'...
 E
 ======================================================================
 ERROR: hstore.tests (unittest.loader.ModuleImportFailure)
 ----------------------------------------------------------------------
 ImportError: Failed to import test module: hstore.tests
 Traceback (most recent call last):
   File
 
"/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py",
 line 254, in _find_tests
     module = self._get_module_from_name(name)
   File
 
"/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py",
 line 232, in _get_module_from_name
     __import__(name)
   File
 
"/Users/andrea/Projects/Django/ticket-24844-hstore/ticket_24844_hstore/hstore/tests.py",
 line 16, in <module>
     assert form_w_hstore.has_changed() is False #Fails
 AssertionError


 ----------------------------------------------------------------------
 Ran 1 test in 0.000s

 FAILED (errors=1)
 Destroying test database for alias 'default'...

 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24844#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.96b42249a4c303efd557db5218522d10%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to