@pytest.fixture
def member_with_email():
 user = _require_user('member_with_email', 'Member with email')
 user.email = 'member_with_email@this.test'
 user.save()
 return user

@ pytest . fixture def member_with_email ( ) : user = _require_user ( 'member_with_email' , 'Member with email' ) user . email = 'member_with_email@this.test' user . save ( ) return user
require a member user .