def test_email():
 os.environ['PYTHONPATH'] = current_directory
 os.environ['DJANGO_SETTINGS_MODULE'] = 'djangoapp'
 (status, out) = commands.getstatusoutput('django-admin.py harvest email.feature --verbosity=2')
 assert_not_equals(status, 0)

def test_email ( ) : os . environ [ 'PYTHONPATH' ] = current_directory os . environ [ 'DJANGO_SETTINGS_MODULE' ] = 'djangoapp' ( status , out ) = commands . getstatusoutput ( 'django-admin.py harvest email.feature --verbosity=2' ) assert_not_equals ( status , 0 )
lettuce should be able to receive emails sent from django server .