def test_feature_has_repr():
 feature = Feature.from_string(FEATURE1)
 expect(repr(feature)).to.equal('<Feature: "Rent movies">')

def test_feature_has_repr ( ) : feature = Feature . from_string ( FEATURE1 ) expect ( repr ( feature ) ) . to . equal ( '<Feature: "Rent movies">' )
feature implements __repr__ nicely .