@step('I create a log record with')
def step_I_create_logrecord_with_table(context):
 assert context.table, 'REQUIRE: context.table'
 assert (len(context.table.rows) == 1), 'REQUIRE: table.row.size == 1'
 step_I_create_logrecords_with_table(context)

@ step ( 'I create a log record with' ) def step_I_create_logrecord_with_table ( context ) : assert context . table , 'REQUIRE: context.table' assert ( len ( context . table . rows ) == 1 ) , 'REQUIRE: table.row.size == 1' step_I_create_logrecords_with_table ( context )
create an log record by using a table to provide the parts .