Skip to content

Commit 70e39d3

Browse files
author
Steve Canny
committed
test: reorder fixtures in Describe_Cell
1 parent ef4d4ee commit 70e39d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_table.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ def it_can_replace_its_content_with_a_string_of_text(
170170

171171
# fixtures -------------------------------------------------------
172172

173+
@pytest.fixture
174+
def paragraphs_fixture(self):
175+
return _Cell(element('w:tc/(w:p, w:p)'), None)
176+
173177
@pytest.fixture(params=[
174178
('w:tc/w:p', 'foobar',
175179
'w:tc/w:p/w:r/w:t"foobar"'),
@@ -184,10 +188,6 @@ def text_set_fixture(self, request):
184188
expected_xml = xml(expected_cxml)
185189
return cell, new_text, expected_xml
186190

187-
@pytest.fixture
188-
def paragraphs_fixture(self):
189-
return _Cell(element('w:tc/(w:p, w:p)'), None)
190-
191191

192192
class Describe_Column(object):
193193

0 commit comments

Comments
 (0)