[Sprint #6]added celery always eager option to separate test from celery server & environ password condition

=====================

To seperate celery & test

(I thought that concept continuous ..)

1) Previous test passed because celery server remained in background process.
2) When it is removed (kill -9 instruction) some errors occurred during test process
3) Error name is —>> error: [Errno 61] Connection refused 
4) Therefore celery server is needed to pause when testing
5) In order to do this, we needed to set the variable called CELERY_ALWAYS_EAGER (Task execution option)
6) But error occurred still.
7) The solution was to use @shared_task instead of using @app.task

Because,
8) Celery eager option is available in reusable app
( Or the other way might be possible )
( Note : This option is set in settings.py )
( reusable app means independent app from project )
( the application self-contained and easier to drop into a new project. )
10) @app.task not allowed because of specifying concrete app
11) Therefor, We need to use @shared_tasks module for reusable app
12) The result of the work of celery appear as an eager result object (return)

shared task in celery
http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html#using-the-shared-task-decorator

reusable app
https://docs.djangoproject.com/en/1.7/intro/reusable-apps/#your-project-and-your-reusable-app

eager result class
http://docs.celeryproject.org/en/v2.2.5/reference/celery.result.html#celery.result.EagerResult

blog link
http://soundatrumpet.blogspot.kr/search/label/buildbuild