def test_can_get_sentence_from_string():
 step = Step.from_string(I_HAVE_TASTY_BEVERAGES)
 assert isinstance(step, Step)
 assert_equals(step.sentence, string.split(I_HAVE_TASTY_BEVERAGES, '\n')[0])

def test_can_get_sentence_from_string ( ) : step = Step . from_string ( I_HAVE_TASTY_BEVERAGES ) assert isinstance ( step , Step ) assert_equals ( step . sentence , string . split ( I_HAVE_TASTY_BEVERAGES , '\n' ) [ 0 ] )
it should extract the sentence string from the whole step .