postgres text array quoting

Bug #871035 reported by Bozo Dragojevic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Storm
New
Undecided
Unassigned

Bug Description

With the attached testcase I get the following error:

$ nosetests tests.store.postgres:PostgresStoreTest.test_list_text_variable
F
======================================================================
FAIL: test_list_text_variable (tests.store.postgres.PostgresStoreTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/me/Projects/storm/tests/mocker.py", line 102, in test_method_wrapper
    result = test_method()
  File "/Users/me/Projects/storm/tests/store/postgres.py", line 193, in test_list_text_variable
    self.assertEquals(result.get_one(), (expected,))
AssertionError: ([u'{"quote": "\\\\""}', u'{"backslash": "\\\\\\\\"}'],) != ([u'{"quote": "\\""}', u'{"backslash": "\\\\"}'],)

----------------------------------------------------------------------
Ran 1 test in 0.125s

FAILED (failures=1)

Revision history for this message
Bozo Dragojevic (bozo-dragojevic) wrote :
Revision history for this message
Bozo Dragojevic (bozo-dragojevic) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.