Dropped assertion on SQL DB exception message, because the message is DB-version dependent.
Pep 8 cleanup.
Merge pull request #684 from 4teamwork/pg_fix_test_sql_task

Dropped assertion on SQL DB exception message.