Skip to content

Commit

Permalink
Fix tests for yajl backend support.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpaulett committed May 14, 2010
1 parent 4585387 commit 3c12014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/backends_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ def test(self):

class YajlTestCase(BackendTestCase):
def setUp(self):
self.set_backend('yajl', 'dumps', 'loads', 'Unknown')
self.set_backend('yajl', 'dumps', 'loads', ValueError)

def test(self):
expected_pickled = '{"things":[{"py\/object":"samples.Thing","name":"data","child":null}]}'
expected_pickled = '{"things":[{"py/object":"samples.Thing","name":"data","child":null}]}'
self.assertEncodeDecode(expected_pickled)

def suite():
Expand Down

0 comments on commit 3c12014

Please sign in to comment.