Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkvSi-0001Jk-6L for pgadmin-hackers@arkaria.postgresql.org; Fri, 16 Sep 2016 15:54:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bkvSh-0007Nc-Lt for pgadmin-hackers@arkaria.postgresql.org; Fri, 16 Sep 2016 15:53:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bkvSU-00079P-I2 for pgadmin-hackers@postgresql.org; Fri, 16 Sep 2016 15:53:46 +0000 Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bkvSP-0001LS-Mp for pgadmin-hackers@postgresql.org; Fri, 16 Sep 2016 15:53:45 +0000 Received: by mail-io0-x229.google.com with SMTP id q92so30118447ioi.1 for ; Fri, 16 Sep 2016 08:53: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=DmklZs0kmaGAC/hvQceow2i5Iw71zFB9bFpqwP672Hk=; b=zHCQoU3a23+xSTBYdoghZTQdu6PhoWnIALtt6l8nkSk1oQ6p2YH8XJYkjZDx0vyda2 b5Gm2otgIjxLyDUeyiV6c/e3UOanP422rPpjxxMLbyaCzJE44q/eCSVSF6rNdTOjD1kr wiS2dp+gRC1AbZ4fIbjYaehS8ncCnKkkC6eSXwuo5UcKhzJMUYlYVo9SkGMA0a9bAHcY rUlqG3TT+inlH/8wVEKttX7R//6nOI9eG49wRABLSstuGL2dyY6BmWkorfB1ekMioUVN Ii0hryr2ucHHLraIHUDAWNfTTL/oDimG2OA/IvaVVg4lpP88gW1BeN+bBBJV3g7Ytxfl TO6g== 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=DmklZs0kmaGAC/hvQceow2i5Iw71zFB9bFpqwP672Hk=; b=adf0p92AgVes38no0BI3kjyj972Qzlq1kvY6pYM2cW6CQHtmDxyvEnad/jBLM0liaX yyumMfyFVua4b82bCKFTfxeo2uR3XzyUxKVguq3qa0OIdoSLJB7FoQmMM1T8gvCsHKDB lIUCehrDhBmLURSzGcKqSCEoHQOxiAOwg0XvkI0klHKghhGCX7V+g5Eu2LcdonNXAVrU kauMp8RAlN7gaPLiQBaNkq2VyQFutJSCuRay3ZsLljkSxAvz+LnYK+GpAbDZfsMJOldR DCoRXWO0Hl4y32f7A/xjXoHrtpMzW5BPOJ3gzlqf+wpwLDrDv+V3OF+azHrbWVOX9rH5 AfWg== X-Gm-Message-State: AE9vXwNIp0o2Qn548gpPJ1DxIGTPMv3Xzh1dHZKiJDUGy39kBe5pIy81v7s169hvme0YmI523nIdKI31jemyM+RJd2NujVQ9PLTIVhN/FF9VLxWbiC3TanKU6Z+1haXNtWhTkVFkPmta3s5o+RYxEYAqQoWexzLD7wN4zhxgD17ppHymbvWCzZF69vIqz7GE5snqTMe7SA== X-Received: by 10.107.3.69 with SMTP id 66mr18654123iod.52.1474041219156; Fri, 16 Sep 2016 08:53:39 -0700 (PDT) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com. [209.85.223.173]) by smtp.gmail.com with ESMTPSA id 15sm3200880itl.0.2016.09.16.08.53.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Sep 2016 08:53:38 -0700 (PDT) Received: by mail-io0-f173.google.com with SMTP id q92so30117580ioi.1 for ; Fri, 16 Sep 2016 08:53:38 -0700 (PDT) X-Received: by 10.107.48.18 with SMTP id w18mr15850135iow.147.1474041218107; Fri, 16 Sep 2016 08:53:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Fri, 16 Sep 2016 08:53:37 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Fri, 16 Sep 2016 16:53:37 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: pgAdmin IV- Testing framework: Enhanced Test Result Summary To: Navnath Gadakh Cc: pgadmin-hackers , Kanchan Mohitey Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.1 (--) 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 Hi On Fri, Sep 16, 2016 at 2:37 PM, Navnath Gadakh wrote: > Hi Dave, > Please find the patch for the enhanced test result summary for testing > framework. The code for this, was completed before drop object's > functionality & independent from drop objects work. > Drop objects work will take time, I am working on that for remaining nodes. > Meanwhile, we go ahead with enhanced test summary. > > To run the test suite follow the commands > 1. python regression/runtests.py --pkg browser.server_groups.servers > 2. python regression/runtests.py --pkg > browser.server_groups.servers.databases I'm seeing some issues with this patch: - There are updates to config.py and setup.py that shouldn't be there. - I get this error at the end of a successful test run: 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 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers