Skip to content

Commit

Permalink
#BuildFix
Browse files Browse the repository at this point in the history
  • Loading branch information
emaillenin committed Mar 7, 2015
1 parent 44f8051 commit c992948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_syntax_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def setUp(self):
self.response_string = '{"root": "compare", "compare": {"compare_word": "compare", "player_2": {"player": {"player1": "dhoni"}}, "CC": "and", "player_1": {"player": {"player1": "sehwag"}}}, "suggested": false}'

def test_syntax_response_false_suggestion(self):
response_string = SyntaxResponse.build_response(self.syntax_string, False)
self.assertEqual(json.loads(self.response_string), json.loads(response_string))
response_dict = SyntaxResponse.build_response(self.syntax_string, False)
self.assertEqual(json.loads(self.response_string), response_dict)

if __name__ == '__main__':
unittest.main()
Expand Down

0 comments on commit c992948

Please sign in to comment.