<s> """<STR_LIT>""" <EOL> from behave import given , then , when <EOL> from docx import Document <EOL> from helpers import test_docx <EOL> @ given ( '<STR_LIT>' ) <EOL> def given_a_document_having_a_numbering_part ( context ) : <EOL> context . document = Document ( test_docx ( '<STR_LIT>' ) ) <EOL> @ when ( '<STR_LIT>' ) <EOL> def when_get_numbering_part_from_document ( context ) : <EOL> document = context . document <EOL> context . numbering_part = document . part . numbering_part <EOL> @ then ( '<STR_LIT>' ) <EOL> def then_numbering_part_has_expected_numbering_definitions ( context ) : <EOL> numbering_part = context . numbering_part <EOL> assert len ( numbering_part . numbering_definitions ) == <NUM_LIT:10> </s>
