File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
ravendb/tests/jvm_migrated_tests/client_tests/documents_tests/commands_tests Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 55from ravendb .tests .test_base import TestBase
66from ravendb .tools .utils import Utils
77
8+
89class Article :
910 def __init__ (
1011 self ,
@@ -14,6 +15,7 @@ def __init__(
1415 self .Id = Id
1516 self .title = title
1617
18+
1719class TestPutDocumentCommand (TestBase ):
1820 def setUp (self ):
1921 super ().setUp ()
@@ -53,9 +55,11 @@ def test_can_put_document_using_command_with_surrogate_pairs(self):
5355 with self .store .open_session () as session :
5456 loaded_user = session .load ("users/2" , User )
5557 self .assertEqual (loaded_user .name , name_with_emojis )
56-
58+
5759 def test_can_put_document_using_command_with_utf_8_chars (self ):
58- title_with_emojis = "Déposer un CAPITAL SOCIAL : ce que tu dois ABSOLUMENT comprendre avant de lancer une ENTREPRISE 🏦"
60+ title_with_emojis = (
61+ "Déposer un CAPITAL SOCIAL : ce que tu dois ABSOLUMENT comprendre avant de lancer une ENTREPRISE 🏦"
62+ )
5963
6064 article = Article (title = title_with_emojis )
6165 node = Utils .entity_to_dict (article , self .store .conventions .json_default_method )
You can’t perform that action at this time.
0 commit comments