def test_feature_description():
 string = u'\n    # lang: en-us\n    Feature: FEATURE NAME! #@@$%\u02c6&*)(*%$E#\n    here comes\n    the description\n    of the scenario\n    really!\n    '
 class FakeFeature:
  description = 'the description\nof the scenario\n'
 description = core.FeatureDescription(FakeFeature, __file__, string, core.Language())
 assert_equals(description.file, core.fs.relpath(__file__))
 assert_not_equals(description.file, __file__)
 assert_equals(description.line, 3)
 assert_equals(description.description_at, (5, 6))

def test_feature_description ( ) : string = u'\n    # lang: en-us\n    Feature: FEATURE NAME! #@@$%\u02c6&*)(*%$E#\n    here comes\n    the description\n    of the scenario\n    really!\n    ' class FakeFeature : description = 'the description\nof the scenario\n' description = core . FeatureDescription ( FakeFeature , __file__ , string , core . Language ( ) ) assert_equals ( description . file , core . fs . relpath ( __file__ ) ) assert_not_equals ( description . file , __file__ ) assert_equals ( description . line , 3 ) assert_equals ( description . description_at , ( 5 , 6 ) )
feature description takes a feature .