Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmj2y-0003ay-9m for pgadmin-hackers@arkaria.postgresql.org; Wed, 21 Sep 2016 15:02:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bmj2x-0000Mn-5k for pgadmin-hackers@arkaria.postgresql.org; Wed, 21 Sep 2016 15:02:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bmj2u-0000IK-8P for pgadmin-hackers@postgresql.org; Wed, 21 Sep 2016 15:02:48 +0000 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bmj2n-0002xg-Ht for pgadmin-hackers@postgresql.org; Wed, 21 Sep 2016 15:02:47 +0000 Received: by mail-qk0-x22c.google.com with SMTP id w204so47746819qka.0 for ; Wed, 21 Sep 2016 08:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KHJhDRQl/Z1kXQTWqxthO4ggpO7sCAtajuR9GbQ9d/Q=; b=eDY/Bn/ZKKoMzjBT/89+PUGt8Qs13PbXWAjRe5PIBSpFV1TjZsgw6mXIA2zacJ/NXK Kzg3H9mHcEJBfwczHsUthjeeW7iyCHplVEbb6K5Zt7aAFoQ7520FZX36TPi9E1uOnY0t H1J8gD2PnQhfuRCglNjMjIn2POfInxqNjfchlGPTlXMqJGm1+cDQdFNJUxVIxwcThxS6 8uSHHL2moGbIHhVOBXKlS7JNFphixx9TJMpmBD8pWXPvB6K/+y8n3ErnJt+N8ICvV/LG CLfdpX50O0KWuK2pHRKCuDHNHWm2UOCdf/LpmdUzc2gVnSGhBy/bNR7x2AfVWE3f94AO gdtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KHJhDRQl/Z1kXQTWqxthO4ggpO7sCAtajuR9GbQ9d/Q=; b=SLN5d6X3DCCKeG/shP7GCiW7cvwJLmPAJqPpVNCwReYe2fxl9mQUrEvHuc+s9eYP7+ ZcdD5UwpQPHu6gOzmcftdnu5rMq78lqJ+IqTz1be5202oQvgNPUGHoPz0uKDgGdQm+Zy +mlsmyMX8cEO9YdlzU7N9R0nuGR4ZLLV7EHlyPrBwH27LdjYHpwG60kxT3Gs1e/P56fx 3q/e2JNtdDk1CHq4n7+NziSQYVy3TKPg3YQQ83WdRohJCIN0bYqxEnULYRbVp+Y5ohsh m7QEqd1i4CW7r0/seUnhS74z+d8N6OYH+3Sj4vw9eFT/M0+3ZsJGwgyu210b+TCaePUi vvAg== X-Gm-Message-State: AE9vXwPn0Q8eUVPqQbTNTrjosxi+a2ooOoZ+0I9qQCp8G/oxavfj/PX7P9mQzRC2HFHY64tpRweIYkVfD2YDAMGK X-Received: by 10.55.82.66 with SMTP id g63mr44773769qkb.227.1474470160254; Wed, 21 Sep 2016 08:02:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.41.114 with HTTP; Wed, 21 Sep 2016 08:02:39 -0700 (PDT) Received: by 10.200.41.114 with HTTP; Wed, 21 Sep 2016 08:02:39 -0700 (PDT) In-Reply-To: References: From: Navnath Gadakh Date: Wed, 21 Sep 2016 20:32:39 +0530 Message-ID: Subject: Re: Patch for RM1720 [pgadmin4] To: Dave Page Cc: Harshal Dhumal , pgadmin-hackers Content-Type: multipart/alternative; boundary=001a114a853a225f26053d05d61a X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a114a853a225f26053d05d61a Content-Type: text/plain; charset=UTF-8 Hi Dave, Can you please run testsuite for server or database node only, as there are some code modifications are remaining on the rest of the nodes. Currently i don't have a machine to look into issue, will check it tomorrow. Thanks. On 21-Sep-2016 6:50 PM, "Dave Page" wrote: > Hi > > On Wed, Sep 21, 2016 at 1:57 PM, Harshal Dhumal > wrote: > > Hi, > > > > PFA patch for RM1720 > > > > > > Issue: In pgAdmin4 we use server id (sid, which is id of server table in > > sqlite db) as key to keep track of server connection (server manger). But > > sqlite reuses these ids and therefore pgadmin4 connection manager assigns > > connection details of one database server to another in some cases. > > > > To avoid this issue we now deleting server connection details (server > > manger) when user drops server. > > Looks like it still needs some work I'm afraid (though, I think the > approach is correct). Here's what I get running the regression tests: > > Interestingly; the error seen when running the test against PG 9.4 > isn't detected as a failure. Can you look at that aspect please > Navnath? > > > (pgadmin4)piranha:web dpage$ python regression/runtests.py > pgAdmin 4 - Application Initialisation > ====================================== > > > The configuration database - '/Users/dpage/.pgadmin/test_pgadmin4.db' > does not exist. > Entering initial setup mode... > NOTE: Configuring authentication for SERVER mode. > > > The configuration database has been created at > /Users/dpage/.pgadmin/test_pgadmin4.db > > =============Running the test cases for 'Regression - PG 9.4'============= > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_add.DatabaseAddTestCase) > This function will add database under 1st server of tree node. (Check > Databases Node URL) ... ok > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_delete.DatabaseDeleteTestCase) > This function will delete the database. (Check Databases Node URL) ... ok > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_get.DatabasesGetTestCase) > This function will fetch added database. (Check Databases Node URL) ... ok > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_put.DatabasesUpdateTestCase) > This function will update the comments field of database. (Check > Databases Node) ... ok > runTest (pgadmin.browser.server_groups.servers.tests.test_ > server_add.ServersAddTestCase) > This function will add the server under default server group. (Default > Server Node url) ... ok > runTest (pgadmin.browser.server_groups.servers.tests.test_server_delete. > ServerDeleteTestCase) > This function deletes the added server (Default Server Node url) ... > 2016-09-21 14:15:58,737: ERROR pgadmin: 'NoneType' object has no > attribute 'release' > Traceback (most recent call last): > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/__init__.py", > line 355, in delete > get_driver(PG_DEFAULT_DRIVER).delete_manager(sid) > File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/ > psycopg2/__init__.py", > line 1729, in delete_manager > manager.release() > AttributeError: 'NoneType' object has no attribute 'release' > ok > runTest (pgadmin.browser.server_groups.servers.tests.test_ > server_get.ServersGetTestCase) > This function will fetch the added servers to object browser. (Default > Server Node url) ... ok > runTest (pgadmin.browser.server_groups.servers.tests.test_server_put. > ServerUpdateTestCase) > This function update the server details (Default Server Node url) ... ok > runTest (pgadmin.browser.server_groups.tests.test_sg_get.SgNodeTestCase) > This function will check available server groups. (Check Server Group > Node) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating Incorrect_New_Password) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating New_Password_Less_Than_Min_Length) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating Empty_New_Password) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating Incorrect_Current_Password) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Changing Valid_Password) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (TestCase for Checking > Invalid_Password) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Empty_Password) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Empty_Email) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Empty_Credentials) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Invalid_Email) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Invalid_Credentials) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Valid_Credentials) ... ok > runTest (pgadmin.browser.tests.test_logout.LogoutTest) > This function checks the logout functionality. (Logging Out) ... ok > runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordTestCase) > This function checks reset password functionality. (TestCase for > Validating Empty Email) ... ok > runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordTestCase) > This function checks reset password functionality. (TestCase for > Validating Invalid_Email) ... ok > runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordTestCase) > This function checks reset password functionality. (TestCase for > Validating Valid_Email) ... ok > > ---------------------------------------------------------------------- > Ran 25 tests in 11.024s > > OK > > =============Running the test cases for 'Regression - PG 9.5'============= > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_add.DatabaseAddTestCase) > This function will add database under 1st server of tree node. (Check > Databases Node URL) ... ok > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_delete.DatabaseDeleteTestCase) > This function will delete the database. (Check Databases Node URL) ... FAIL > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_get.DatabasesGetTestCase) > This function will fetch added database. (Check Databases Node URL) ... > ERROR > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_put.DatabasesUpdateTestCase) > This function will update the comments field of database. (Check > Databases Node) ... ERROR > runTest (pgadmin.browser.server_groups.servers.tests.test_ > server_add.ServersAddTestCase) > This function will add the server under default server group. (Default > Server Node url) ... ok > runTest (pgadmin.browser.server_groups.servers.tests.test_server_delete. > ServerDeleteTestCase) > This function deletes the added server (Default Server Node url) ... ok > runTest (pgadmin.browser.server_groups.servers.tests.test_ > server_get.ServersGetTestCase) > This function will fetch the added servers to object browser. (Default > Server Node url) ... ok > runTest (pgadmin.browser.server_groups.servers.tests.test_server_put. > ServerUpdateTestCase) > This function update the server details (Default Server Node url) ... ok > runTest (pgadmin.browser.server_groups.tests.test_sg_get.SgNodeTestCase) > This function will check available server groups. (Check Server Group > Node) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating Incorrect_New_Password) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating New_Password_Less_Than_Min_Length) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating Empty_New_Password) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating Incorrect_Current_Password) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Changing Valid_Password) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (TestCase for Checking > Invalid_Password) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Empty_Password) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Empty_Email) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Empty_Credentials) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Invalid_Email) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Invalid_Credentials) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Valid_Credentials) ... ok > runTest (pgadmin.browser.tests.test_logout.LogoutTest) > This function checks the logout functionality. (Logging Out) ... ok > runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordTestCase) > This function checks reset password functionality. (TestCase for > Validating Empty Email) ... ok > runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordTestCase) > This function checks reset password functionality. (TestCase for > Validating Invalid_Email) ... ok > runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordTestCase) > This function checks reset password functionality. (TestCase for > Validating Valid_Email) ... ok > > ====================================================================== > ERROR: runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_get.DatabasesGetTestCase) > This function will fetch added database. (Check Databases Node URL) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/test_db_get.py", > line 33, in runTest > self.db_id) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/utils.py", > line 142, in verify_database > follow_redirects=True) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 788, in post > return self.open(*args, **kw) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/testing.py", > line 113, in open > follow_redirects=follow_redirects) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 751, in open > response = self.run_wsgi_app(environ, buffered=buffered) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 668, in run_wsgi_app > rv = run_wsgi_app(self.application, environ, buffered=buffered) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 871, in run_wsgi_app > app_rv = app(environ, start_response) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 2000, in __call__ > return self.wsgi_app(environ, start_response) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1991, in wsgi_app > response = self.make_response(self.handle_exception(e)) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1567, in handle_exception > reraise(exc_type, exc_value, tb) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1988, in wsgi_app > response = self.full_dispatch_request() > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1641, in full_dispatch_request > rv = self.handle_user_exception(e) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1544, in handle_user_exception > reraise(exc_type, exc_value, tb) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1639, in full_dispatch_request > rv = self.dispatch_request() > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1625, in dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/views.py", > line 84, in view > return self.dispatch_request(*args, **kwargs) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.py", line > 235, in dispatch_request > return method(*args, **kwargs) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/__init__.py", > line 364, in connect > conn = manager.connection(did=did, auto_reconnect=True) > File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/ > psycopg2/__init__.py", > line 1448, in connection > "Couldn't find the specified database." > Exception: Couldn't find the specified database. > > ====================================================================== > ERROR: runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_put.DatabasesUpdateTestCase) > This function will update the comments field of database. (Check Databases > Node) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/test_db_put.py", > line 37, in runTest > db_id) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/utils.py", > line 142, in verify_database > follow_redirects=True) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 788, in post > return self.open(*args, **kw) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/testing.py", > line 113, in open > follow_redirects=follow_redirects) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 751, in open > response = self.run_wsgi_app(environ, buffered=buffered) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 668, in run_wsgi_app > rv = run_wsgi_app(self.application, environ, buffered=buffered) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 871, in run_wsgi_app > app_rv = app(environ, start_response) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 2000, in __call__ > return self.wsgi_app(environ, start_response) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1991, in wsgi_app > response = self.make_response(self.handle_exception(e)) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1567, in handle_exception > reraise(exc_type, exc_value, tb) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1988, in wsgi_app > response = self.full_dispatch_request() > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1641, in full_dispatch_request > rv = self.handle_user_exception(e) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1544, in handle_user_exception > reraise(exc_type, exc_value, tb) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1639, in full_dispatch_request > rv = self.dispatch_request() > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1625, in dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/views.py", > line 84, in view > return self.dispatch_request(*args, **kwargs) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.py", line > 235, in dispatch_request > return method(*args, **kwargs) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/__init__.py", > line 364, in connect > conn = manager.connection(did=did, auto_reconnect=True) > File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/ > psycopg2/__init__.py", > line 1448, in connection > "Couldn't find the specified database." > Exception: Couldn't find the specified database. > > ====================================================================== > FAIL: runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_delete.DatabaseDeleteTestCase) > This function will delete the database. (Check Databases Node URL) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/test_db_delete.py", > line 38, in runTest > self.assertEquals(response.status_code, 200) > AssertionError: 410 != 200 > > ---------------------------------------------------------------------- > Ran 25 tests in 10.845s > > FAILED (failures=1, errors=2) > > =============Running the test cases for 'Regression - EPAS > 9.5'============= > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_add.DatabaseAddTestCase) > This function will add database under 1st server of tree node. (Check > Databases Node URL) ... ok > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_delete.DatabaseDeleteTestCase) > This function will delete the database. (Check Databases Node URL) ... FAIL > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_get.DatabasesGetTestCase) > This function will fetch added database. (Check Databases Node URL) ... > ERROR > runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_put.DatabasesUpdateTestCase) > This function will update the comments field of database. (Check > Databases Node) ... ERROR > runTest (pgadmin.browser.server_groups.servers.tests.test_ > server_add.ServersAddTestCase) > This function will add the server under default server group. (Default > Server Node url) ... ok > runTest (pgadmin.browser.server_groups.servers.tests.test_server_delete. > ServerDeleteTestCase) > This function deletes the added server (Default Server Node url) ... ok > runTest (pgadmin.browser.server_groups.servers.tests.test_ > server_get.ServersGetTestCase) > This function will fetch the added servers to object browser. (Default > Server Node url) ... ok > runTest (pgadmin.browser.server_groups.servers.tests.test_server_put. > ServerUpdateTestCase) > This function update the server details (Default Server Node url) ... ok > runTest (pgadmin.browser.server_groups.tests.test_sg_get.SgNodeTestCase) > This function will check available server groups. (Check Server Group > Node) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating Incorrect_New_Password) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating New_Password_Less_Than_Min_Length) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating Empty_New_Password) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Validating Incorrect_Current_Password) ... ok > runTest (pgadmin.browser.tests.test_change_password. > ChangePasswordTestCase) > This function will check change password functionality. (TestCase for > Changing Valid_Password) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (TestCase for Checking > Invalid_Password) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Empty_Password) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Empty_Email) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Empty_Credentials) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Invalid_Email) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Invalid_Credentials) ... ok > runTest (pgadmin.browser.tests.test_login.LoginTestCase) > This function checks login functionality. (Valid_Credentials) ... ok > runTest (pgadmin.browser.tests.test_logout.LogoutTest) > This function checks the logout functionality. (Logging Out) ... ok > runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordTestCase) > This function checks reset password functionality. (TestCase for > Validating Empty Email) ... ok > runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordTestCase) > This function checks reset password functionality. (TestCase for > Validating Invalid_Email) ... ok > runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordTestCase) > This function checks reset password functionality. (TestCase for > Validating Valid_Email) ... ok > > ====================================================================== > ERROR: runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_get.DatabasesGetTestCase) > This function will fetch added database. (Check Databases Node URL) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/test_db_get.py", > line 33, in runTest > self.db_id) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/utils.py", > line 142, in verify_database > follow_redirects=True) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 788, in post > return self.open(*args, **kw) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/testing.py", > line 113, in open > follow_redirects=follow_redirects) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 751, in open > response = self.run_wsgi_app(environ, buffered=buffered) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 668, in run_wsgi_app > rv = run_wsgi_app(self.application, environ, buffered=buffered) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 871, in run_wsgi_app > app_rv = app(environ, start_response) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 2000, in __call__ > return self.wsgi_app(environ, start_response) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1991, in wsgi_app > response = self.make_response(self.handle_exception(e)) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1567, in handle_exception > reraise(exc_type, exc_value, tb) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1988, in wsgi_app > response = self.full_dispatch_request() > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1641, in full_dispatch_request > rv = self.handle_user_exception(e) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1544, in handle_user_exception > reraise(exc_type, exc_value, tb) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1639, in full_dispatch_request > rv = self.dispatch_request() > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1625, in dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/views.py", > line 84, in view > return self.dispatch_request(*args, **kwargs) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.py", line > 235, in dispatch_request > return method(*args, **kwargs) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/__init__.py", > line 364, in connect > conn = manager.connection(did=did, auto_reconnect=True) > File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/ > psycopg2/__init__.py", > line 1448, in connection > "Couldn't find the specified database." > Exception: Couldn't find the specified database. > > ====================================================================== > ERROR: runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_put.DatabasesUpdateTestCase) > This function will update the comments field of database. (Check Databases > Node) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/test_db_put.py", > line 37, in runTest > db_id) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/utils.py", > line 142, in verify_database > follow_redirects=True) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 788, in post > return self.open(*args, **kw) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/testing.py", > line 113, in open > follow_redirects=follow_redirects) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 751, in open > response = self.run_wsgi_app(environ, buffered=buffered) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 668, in run_wsgi_app > rv = run_wsgi_app(self.application, environ, buffered=buffered) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/werkzeug/test.py", > line 871, in run_wsgi_app > app_rv = app(environ, start_response) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 2000, in __call__ > return self.wsgi_app(environ, start_response) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1991, in wsgi_app > response = self.make_response(self.handle_exception(e)) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1567, in handle_exception > reraise(exc_type, exc_value, tb) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1988, in wsgi_app > response = self.full_dispatch_request() > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1641, in full_dispatch_request > rv = self.handle_user_exception(e) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1544, in handle_user_exception > reraise(exc_type, exc_value, tb) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1639, in full_dispatch_request > rv = self.dispatch_request() > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > line 1625, in dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/views.py", > line 84, in view > return self.dispatch_request(*args, **kwargs) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.py", line > 235, in dispatch_request > return method(*args, **kwargs) > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/__init__.py", > line 364, in connect > conn = manager.connection(did=did, auto_reconnect=True) > File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/ > psycopg2/__init__.py", > line 1448, in connection > "Couldn't find the specified database." > Exception: Couldn't find the specified database. > > ====================================================================== > FAIL: runTest (pgadmin.browser.server_groups.servers.databases. > tests.test_db_delete.DatabaseDeleteTestCase) > This function will delete the database. (Check Databases Node URL) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server_ > groups/servers/databases/tests/test_db_delete.py", > line 38, in runTest > self.assertEquals(response.status_code, 200) > AssertionError: 410 != 200 > > ---------------------------------------------------------------------- > Ran 25 tests in 13.194s > > FAILED (failures=1, errors=2) > > Test Result Summary > ============================ > Regression - EPAS 9.5: 22 tests passed, 3 tests failed : > DatabaseDeleteTestCase > DatabasesGetTestCase > DatabasesUpdateTestCase > Regression - PG 9.5: 22 tests passed, 3 tests failed : > DatabaseDeleteTestCase > DatabasesGetTestCase > DatabasesUpdateTestCase > Regression - PG 9.4: 25 tests passed, 0 tests failed > ============================ > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > --001a114a853a225f26053d05d61a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi Dave,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Can you please run testsuite for= server or database node only, as there are some code modifications are rem= aining on the rest of the nodes.
Currently i don't have a machine to look into issue, will check it tomo= rrow.

Thanks.


On 21-Sep-2016 6:= 50 PM, "Dave Page" <dpage= @pgadmin.org> wrote:
Hi

On Wed, Sep 21, 2016 at 1:57 PM, Harshal Dhumal
<harshal.dhumal@enter= prisedb.com> wrote:
> Hi,
>
> PFA patch for RM1720
>
>
> Issue: In pgAdmin4 we use server id (sid, which is id of server table = in
> sqlite db) as key to keep track of server connection (server manger). = But
> sqlite reuses these ids and therefore pgadmin4 connection manager assi= gns
> connection details of one database server to another in some cases. >
> To avoid this issue we now deleting server connection details (server<= br> > manger) when user drops server.

Looks like it still needs some work I'm afraid (though, I think the
approach is correct). Here's what I get running the regression tests:
Interestingly; the error seen when running the test against PG 9.4
isn't detected as a failure. Can you look at that aspect please
Navnath?


(pgadmin4)piranha:web dpage$ python regression/runtests.py
pgAdmin 4 - Application Initialisation
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


The configuration database - '/Users/dpage/.pgadmin/test_pgadmin4.= db'
does not exist.
Entering initial setup mode...
NOTE: Configuring authentication for SERVER mode.


The configuration database has been created at
/Users/dpage/.pgadmin/test_pgadmin4.db

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'Regr= ession - PG 9.4'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_add.DatabaseAddTestCase)
This function will add database under 1st server of tree node. (Check
Databases Node URL) ... ok
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_delete.DatabaseDeleteTestCase)
This function will delete the database. (Check Databases Node URL) ... ok runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_get.DatabasesGetTestCase)
This function will fetch added database. (Check Databases Node URL) ... ok<= br> runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_put.DatabasesUpdateTestCase)
This function will update the comments field of database. (Check
Databases Node) ... ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= add.ServersAddTestCase)
This function will add the server under default server group. (Default
Server Node url) ... ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= delete.ServerDeleteTestCase)
This function deletes the added server (Default Server Node url) ...
2016-09-21 14:15:58,737: ERROR pgadmin: 'NoneType' object has no attribute 'release'
Traceback (most recent call last):
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/__init__.py",
line 355, in delete
=C2=A0 =C2=A0 get_driver(PG_DEFAULT_DRIVER).delete_manager(sid)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/<= wbr>psycopg2/__init__.py",
line 1729, in delete_manager
=C2=A0 =C2=A0 manager.release()
AttributeError: 'NoneType' object has no attribute 'release'= ;
ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= get.ServersGetTestCase)
This function will fetch the added servers to object browser. (Default
Server Node url) ... ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= put.ServerUpdateTestCase)
This function update the server details (Default Server Node url) ... ok runTest (pgadmin.browser.server_groups.tests.test_sg_get.SgNodeTe= stCase)
This function will check available server groups. (Check Server Group
Node) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating Incorrect_New_Password) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating New_Password_Less_Than_Min_Length) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating Empty_New_Password) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating Incorrect_Current_Password) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Changing Valid_Password) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (TestCase for Checking
Invalid_Password) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Empty_Password) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Empty_Email) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Empty_Credentials) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Invalid_Email) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Invalid_Credentials) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Valid_Credentials) ... ok
runTest (pgadmin.browser.tests.test_logout.LogoutTest)
This function checks the logout functionality. (Logging Out) ... ok
runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordT= estCase)
This function checks reset password functionality. (TestCase for
Validating Empty Email) ... ok
runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordT= estCase)
This function checks reset password functionality. (TestCase for
Validating Invalid_Email) ... ok
runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordT= estCase)
This function checks reset password functionality. (TestCase for
Validating Valid_Email) ... ok

-----------------------------------------------------------------= -----
Ran 25 tests in 11.024s

OK

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'Regr= ession - PG 9.5'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_add.DatabaseAddTestCase)
This function will add database under 1st server of tree node. (Check
Databases Node URL) ... ok
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_delete.DatabaseDeleteTestCase)
This function will delete the database. (Check Databases Node URL) ... FAIL=
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_get.DatabasesGetTestCase)
This function will fetch added database. (Check Databases Node URL) ... ERR= OR
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_put.DatabasesUpdateTestCase)
This function will update the comments field of database. (Check
Databases Node) ... ERROR
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= add.ServersAddTestCase)
This function will add the server under default server group. (Default
Server Node url) ... ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= delete.ServerDeleteTestCase)
This function deletes the added server (Default Server Node url) ... ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= get.ServersGetTestCase)
This function will fetch the added servers to object browser. (Default
Server Node url) ... ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= put.ServerUpdateTestCase)
This function update the server details (Default Server Node url) ... ok runTest (pgadmin.browser.server_groups.tests.test_sg_get.SgNodeTe= stCase)
This function will check available server groups. (Check Server Group
Node) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating Incorrect_New_Password) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating New_Password_Less_Than_Min_Length) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating Empty_New_Password) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating Incorrect_Current_Password) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Changing Valid_Password) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (TestCase for Checking
Invalid_Password) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Empty_Password) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Empty_Email) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Empty_Credentials) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Invalid_Email) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Invalid_Credentials) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Valid_Credentials) ... ok
runTest (pgadmin.browser.tests.test_logout.LogoutTest)
This function checks the logout functionality. (Logging Out) ... ok
runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordT= estCase)
This function checks reset password functionality. (TestCase for
Validating Empty Email) ... ok
runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordT= estCase)
This function checks reset password functionality. (TestCase for
Validating Invalid_Email) ... ok
runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordT= estCase)
This function checks reset password functionality. (TestCase for
Validating Valid_Email) ... ok

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: runTest (pgadmin.browser.server_groups.servers.databases.t= ests.test_db_get.DatabasesGetTestCase)
This function will fetch added database. (Check Databases Node URL)
-----------------------------------------------------------------= -----
Traceback (most recent call last):
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/test_db_get.py",
line 33, in runTest
=C2=A0 =C2=A0 self.db_id)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/utils.py",
line 142, in verify_database
=C2=A0 =C2=A0 follow_redirects=3DTrue)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 788, in post
=C2=A0 =C2=A0 return self.open(*args, **kw)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/testing.py",
line 113, in open
=C2=A0 =C2=A0 follow_redirects=3Dfollow_redirects)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 751, in open
=C2=A0 =C2=A0 response =3D self.run_wsgi_app(environ, buffered=3Dbuffered)<= br> =C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 668, in run_wsgi_app
=C2=A0 =C2=A0 rv =3D run_wsgi_app(self.application, environ, buffered=3Dbuf= fered)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 871, in run_wsgi_app
=C2=A0 =C2=A0 app_rv =3D app(environ, start_response)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 2000, in __call__
=C2=A0 =C2=A0 return self.wsgi_app(environ, start_response)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1991, in wsgi_app
=C2=A0 =C2=A0 response =3D self.make_response(self.handle_exception(e)= )
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1567, in handle_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1988, in wsgi_app
=C2=A0 =C2=A0 response =3D self.full_dispatch_request()
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1641, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.handle_user_exception(e)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1544, in handle_user_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1639, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.dispatch_request()
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1625, in dispatch_request
=C2=A0 =C2=A0 return self.view_functions[rule.endpoint](**req.view_arg= s)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/views.py",
line 84, in view
=C2=A0 =C2=A0 return self.dispatch_request(*args, **kwargs)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.= py", line
235, in dispatch_request
=C2=A0 =C2=A0 return method(*args, **kwargs)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/__init__.py",
line 364, in connect
=C2=A0 =C2=A0 conn =3D manager.connection(did=3Ddid, auto_reconnect=3DTrue)=
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/<= wbr>psycopg2/__init__.py",
line 1448, in connection
=C2=A0 =C2=A0 "Couldn't find the specified database."
Exception: Couldn't find the specified database.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: runTest (pgadmin.browser.server_groups.servers.databases.t= ests.test_db_put.DatabasesUpdateTestCase)
This function will update the comments field of database. (Check Databases = Node)
-----------------------------------------------------------------= -----
Traceback (most recent call last):
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/test_db_put.py",
line 37, in runTest
=C2=A0 =C2=A0 db_id)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/utils.py",
line 142, in verify_database
=C2=A0 =C2=A0 follow_redirects=3DTrue)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 788, in post
=C2=A0 =C2=A0 return self.open(*args, **kw)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/testing.py",
line 113, in open
=C2=A0 =C2=A0 follow_redirects=3Dfollow_redirects)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 751, in open
=C2=A0 =C2=A0 response =3D self.run_wsgi_app(environ, buffered=3Dbuffered)<= br> =C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 668, in run_wsgi_app
=C2=A0 =C2=A0 rv =3D run_wsgi_app(self.application, environ, buffered=3Dbuf= fered)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 871, in run_wsgi_app
=C2=A0 =C2=A0 app_rv =3D app(environ, start_response)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 2000, in __call__
=C2=A0 =C2=A0 return self.wsgi_app(environ, start_response)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1991, in wsgi_app
=C2=A0 =C2=A0 response =3D self.make_response(self.handle_exception(e)= )
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1567, in handle_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1988, in wsgi_app
=C2=A0 =C2=A0 response =3D self.full_dispatch_request()
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1641, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.handle_user_exception(e)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1544, in handle_user_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1639, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.dispatch_request()
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1625, in dispatch_request
=C2=A0 =C2=A0 return self.view_functions[rule.endpoint](**req.view_arg= s)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/views.py",
line 84, in view
=C2=A0 =C2=A0 return self.dispatch_request(*args, **kwargs)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.= py", line
235, in dispatch_request
=C2=A0 =C2=A0 return method(*args, **kwargs)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/__init__.py",
line 364, in connect
=C2=A0 =C2=A0 conn =3D manager.connection(did=3Ddid, auto_reconnect=3DTrue)=
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/<= wbr>psycopg2/__init__.py",
line 1448, in connection
=C2=A0 =C2=A0 "Couldn't find the specified database."
Exception: Couldn't find the specified database.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FAIL: runTest (pgadmin.browser.server_groups.servers.databases.te= sts.test_db_delete.DatabaseDeleteTestCase)
This function will delete the database. (Check Databases Node URL)
-----------------------------------------------------------------= -----
Traceback (most recent call last):
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/test_db_delete.py",
line 38, in runTest
=C2=A0 =C2=A0 self.assertEquals(response.status_code, 200)
AssertionError: 410 !=3D 200

-----------------------------------------------------------------= -----
Ran 25 tests in 10.845s

FAILED (failures=3D1, errors=3D2)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRunning the test cases for 'Regr= ession - EPAS 9.5'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_add.DatabaseAddTestCase)
This function will add database under 1st server of tree node. (Check
Databases Node URL) ... ok
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_delete.DatabaseDeleteTestCase)
This function will delete the database. (Check Databases Node URL) ... FAIL=
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_get.DatabasesGetTestCase)
This function will fetch added database. (Check Databases Node URL) ... ERR= OR
runTest (pgadmin.browser.server_groups.servers.databases.tests.te= st_db_put.DatabasesUpdateTestCase)
This function will update the comments field of database. (Check
Databases Node) ... ERROR
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= add.ServersAddTestCase)
This function will add the server under default server group. (Default
Server Node url) ... ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= delete.ServerDeleteTestCase)
This function deletes the added server (Default Server Node url) ... ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= get.ServersGetTestCase)
This function will fetch the added servers to object browser. (Default
Server Node url) ... ok
runTest (pgadmin.browser.server_groups.servers.tests.test_server_= put.ServerUpdateTestCase)
This function update the server details (Default Server Node url) ... ok runTest (pgadmin.browser.server_groups.tests.test_sg_get.SgNodeTe= stCase)
This function will check available server groups. (Check Server Group
Node) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating Incorrect_New_Password) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating New_Password_Less_Than_Min_Length) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating Empty_New_Password) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Validating Incorrect_Current_Password) ... ok
runTest (pgadmin.browser.tests.test_change_password.ChangePasswor= dTestCase)
This function will check change password functionality. (TestCase for
Changing Valid_Password) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (TestCase for Checking
Invalid_Password) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Empty_Password) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Empty_Email) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Empty_Credentials) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Invalid_Email) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Invalid_Credentials) ... ok
runTest (pgadmin.browser.tests.test_login.LoginTestCase)
This function checks login functionality. (Valid_Credentials) ... ok
runTest (pgadmin.browser.tests.test_logout.LogoutTest)
This function checks the logout functionality. (Logging Out) ... ok
runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordT= estCase)
This function checks reset password functionality. (TestCase for
Validating Empty Email) ... ok
runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordT= estCase)
This function checks reset password functionality. (TestCase for
Validating Invalid_Email) ... ok
runTest (pgadmin.browser.tests.test_reset_password.ResetPasswordT= estCase)
This function checks reset password functionality. (TestCase for
Validating Valid_Email) ... ok

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: runTest (pgadmin.browser.server_groups.servers.databases.t= ests.test_db_get.DatabasesGetTestCase)
This function will fetch added database. (Check Databases Node URL)
-----------------------------------------------------------------= -----
Traceback (most recent call last):
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/test_db_get.py",
line 33, in runTest
=C2=A0 =C2=A0 self.db_id)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/utils.py",
line 142, in verify_database
=C2=A0 =C2=A0 follow_redirects=3DTrue)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 788, in post
=C2=A0 =C2=A0 return self.open(*args, **kw)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/testing.py",
line 113, in open
=C2=A0 =C2=A0 follow_redirects=3Dfollow_redirects)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 751, in open
=C2=A0 =C2=A0 response =3D self.run_wsgi_app(environ, buffered=3Dbuffered)<= br> =C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 668, in run_wsgi_app
=C2=A0 =C2=A0 rv =3D run_wsgi_app(self.application, environ, buffered=3Dbuf= fered)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 871, in run_wsgi_app
=C2=A0 =C2=A0 app_rv =3D app(environ, start_response)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 2000, in __call__
=C2=A0 =C2=A0 return self.wsgi_app(environ, start_response)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1991, in wsgi_app
=C2=A0 =C2=A0 response =3D self.make_response(self.handle_exception(e)= )
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1567, in handle_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1988, in wsgi_app
=C2=A0 =C2=A0 response =3D self.full_dispatch_request()
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1641, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.handle_user_exception(e)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1544, in handle_user_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1639, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.dispatch_request()
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1625, in dispatch_request
=C2=A0 =C2=A0 return self.view_functions[rule.endpoint](**req.view_arg= s)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/views.py",
line 84, in view
=C2=A0 =C2=A0 return self.dispatch_request(*args, **kwargs)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.= py", line
235, in dispatch_request
=C2=A0 =C2=A0 return method(*args, **kwargs)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/__init__.py",
line 364, in connect
=C2=A0 =C2=A0 conn =3D manager.connection(did=3Ddid, auto_reconnect=3DTrue)=
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/<= wbr>psycopg2/__init__.py",
line 1448, in connection
=C2=A0 =C2=A0 "Couldn't find the specified database."
Exception: Couldn't find the specified database.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: runTest (pgadmin.browser.server_groups.servers.databases.t= ests.test_db_put.DatabasesUpdateTestCase)
This function will update the comments field of database. (Check Databases = Node)
-----------------------------------------------------------------= -----
Traceback (most recent call last):
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/test_db_put.py",
line 37, in runTest
=C2=A0 =C2=A0 db_id)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/utils.py",
line 142, in verify_database
=C2=A0 =C2=A0 follow_redirects=3DTrue)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 788, in post
=C2=A0 =C2=A0 return self.open(*args, **kw)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/testing.py",
line 113, in open
=C2=A0 =C2=A0 follow_redirects=3Dfollow_redirects)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 751, in open
=C2=A0 =C2=A0 response =3D self.run_wsgi_app(environ, buffered=3Dbuffered)<= br> =C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 668, in run_wsgi_app
=C2=A0 =C2=A0 rv =3D run_wsgi_app(self.application, environ, buffered=3Dbuf= fered)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/werkzeug/test.py",
line 871, in run_wsgi_app
=C2=A0 =C2=A0 app_rv =3D app(environ, start_response)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 2000, in __call__
=C2=A0 =C2=A0 return self.wsgi_app(environ, start_response)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1991, in wsgi_app
=C2=A0 =C2=A0 response =3D self.make_response(self.handle_exception(e)= )
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1567, in handle_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1988, in wsgi_app
=C2=A0 =C2=A0 response =3D self.full_dispatch_request()
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1641, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.handle_user_exception(e)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1544, in handle_user_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1639, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.dispatch_request()
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/app.py",
line 1625, in dispatch_request
=C2=A0 =C2=A0 return self.view_functions[rule.endpoint](**req.view_arg= s)
=C2=A0 File "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/sit= e-packages/flask/views.py",
line 84, in view
=C2=A0 =C2=A0 return self.dispatch_request(*args, **kwargs)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/utils.= py", line
235, in dispatch_request
=C2=A0 =C2=A0 return method(*args, **kwargs)
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/__init__.py",
line 364, in connect
=C2=A0 =C2=A0 conn =3D manager.connection(did=3Ddid, auto_reconnect=3DTrue)=
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/driver/<= wbr>psycopg2/__init__.py",
line 1448, in connection
=C2=A0 =C2=A0 "Couldn't find the specified database."
Exception: Couldn't find the specified database.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FAIL: runTest (pgadmin.browser.server_groups.servers.databases.te= sts.test_db_delete.DatabaseDeleteTestCase)
This function will delete the database. (Check Databases Node URL)
-----------------------------------------------------------------= -----
Traceback (most recent call last):
=C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/server= _groups/servers/databases/tests/test_db_delete.py",
line 38, in runTest
=C2=A0 =C2=A0 self.assertEquals(response.status_code, 200)
AssertionError: 410 !=3D 200

-----------------------------------------------------------------= -----
Ran 25 tests in 13.194s

FAILED (failures=3D1, errors=3D2)

Test Result Summary
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D
Regression - EPAS 9.5: 22 tests passed, 3 tests failed :
DatabaseDeleteTestCase
DatabasesGetTestCase
DatabasesUpdateTestCase
Regression - PG 9.5: 22 tests passed, 3 tests failed :
DatabaseDeleteTestCase
DatabasesGetTestCase
DatabasesUpdateTestCase
Regression - PG 9.4: 25 tests passed, 0 tests failed
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--001a114a853a225f26053d05d61a--