Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix test
  • Loading branch information
pfhayes committed Apr 20, 2016
1 parent 9994d94 commit edd2093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cookie_only.py
Expand Up @@ -112,7 +112,7 @@ def loads(self, data_string):
return json.loads(data_string).decode('utf-8')

def dumps(self, data):
return json.dumps(data_string.encode('utf-8'))
return json.dumps(data.encode('utf-8'))

serializer = CustomSerializer()
options = {'session.validate_key':'hoobermas', 'session.type':'cookie', 'serializer': serializer}
Expand Down

0 comments on commit edd2093

Please sign in to comment.