Skip to content

Commit d46894f

Browse files
committed
Fix name
1 parent 5147596 commit d46894f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_container.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,16 +261,16 @@ def test_add_js(self):
261261
)
262262
)
263263

264-
def __run_single_node_test(self, sentence, text_only=False, number_of_sentences=None):
264+
def __run_single_node_test(self, text, text_only=False, number_of_sentences=None):
265265
self.container.paragraph_counter = defaultdict(lambda: 1)
266266
node = etree.Element(f"{{{container.XHTML_NAMESPACE}}}p")
267267

268268
if text_only:
269269
self.assertTrue(
270-
self.container._append_kobo_spans_from_text(node, sentence, "test")
270+
self.container._append_kobo_spans_from_text(node, text, "test")
271271
)
272272
else:
273-
node.text = sentence
273+
node.text = text
274274
node = self.container._add_kobo_spans_to_node(node, "test")
275275

276276
# check number of sentences

0 commit comments

Comments
 (0)