Re: pgAdmin IV- Testing framework: Enhanced Test Result Summary

From: Navnath Gadakh <navnath(dot)gadakh(at)enterprisedb(dot)com>
To: Dave Page <dave(dot)page(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Kanchan Mohitey <kanchan(dot)mohitey(at)enterprisedb(dot)com>
Subject: Re: pgAdmin IV- Testing framework: Enhanced Test Result Summary
Date: 2016-09-19 13:03:52
Message-ID: CAOAJCYptvx71N-Ava-RP75NmVU6_6LBC+fKQosmXKdRn4D602A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave,
In the drop objects function scenario for 'NoneType' was not handled.
Code is added in the revised patch.

Thanks.

On Mon, Sep 19, 2016 at 2:03 PM, Dave Page <dave(dot)page(at)enterprisedb(dot)com>
wrote:

> Hi
>
> On Mon, Sep 19, 2016 at 8:14 AM, Navnath Gadakh
> <navnath(dot)gadakh(at)enterprisedb(dot)com> wrote:
> > Hi Dave,
> > Error resolved. Please find the revised patch.
>
> I still see the error:
>
> Test Result Summary
> ============================
> Regression - PG 9.4: 25 tests passed, 0 tests failed
> ============================
>
> Please check output in file:
> /Users/dpage/git/pgadmin4/web/regression/regression.log
> Error in atexit._run_exitfuncs:
> Traceback (most recent call last):
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/
> lib/python2.7/atexit.py",
> line 24, in _run_exitfuncs
> func(*targs, **kargs)
> File "/Users/dpage/git/pgadmin4/web/regression/test_utils.py", line
> 360, in drop_objects
> file_name, sys.exc_traceback.tb_lineno, exception))
> Exception: test_utils.py: line:337 'NoneType' object has no attribute
> '__getitem__'
> Error in sys.exitfunc:
> Traceback (most recent call last):
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/
> lib/python2.7/atexit.py",
> line 24, in _run_exitfuncs
> func(*targs, **kargs)
> File "/Users/dpage/git/pgadmin4/web/regression/test_utils.py", line
> 360, in drop_objects
> file_name, sys.exc_traceback.tb_lineno, exception))
> Exception: test_utils.py: line:337 'NoneType' object has no attribute
> '__getitem__'
>
>
> --
> Dave Page
> VP, Chief Architect, Tools & Installers
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>

--
Regards,
Navnath

Attachment Content-Type Size
enhanced_testresult_summary.patch application/octet-stream 41.5 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2016-09-19 13:58:49 [pgAdmin4][Patch]: Slickgrid loading issue in Query tool
Previous Message Murtuza Zabuawala 2016-09-19 11:48:43 PATCH: To fix the issue where user gets error following application server restart (pgAdmin4)