fix minor styling issue in tests
This commit is contained in:
		| @@ -32,12 +32,12 @@ class TestJson(unittest.TestCase): | ||||
|             string = StringField(db_field='s') | ||||
|             embedded = EmbeddedDocumentField(Embedded, db_field='e') | ||||
|  | ||||
|         doc = Doc( string="Hello", embedded=Embedded(string="Inner Hello")) | ||||
|         doc_json = doc.to_json(sort_keys=True, use_db_field=False,separators=(',', ':')) | ||||
|         doc = Doc(string="Hello", embedded=Embedded(string="Inner Hello")) | ||||
|         doc_json = doc.to_json(sort_keys=True, use_db_field=False, separators=(',', ':')) | ||||
|  | ||||
|         expected_json = """{"embedded":{"string":"Inner Hello"},"string":"Hello"}""" | ||||
|  | ||||
|         self.assertEqual( doc_json, expected_json) | ||||
|         self.assertEqual(doc_json, expected_json) | ||||
|  | ||||
|     def test_json_simple(self): | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user