Skip to content

Commit b0b08c1

Browse files
author
Med Kamal
committed
applying balck
1 parent 80ca17a commit b0b08c1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ravendb/tests/jvm_migrated_tests/client_tests/documents_tests/commands_tests/test_put_document_command.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from ravendb.tests.test_base import TestBase
66
from ravendb.tools.utils import Utils
77

8+
89
class Article:
910
def __init__(
1011
self,
@@ -14,6 +15,7 @@ def __init__(
1415
self.Id = Id
1516
self.title = title
1617

18+
1719
class 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)

0 commit comments

Comments
 (0)