From owner-freebsd-ports-bugs@freebsd.org Sun Jul 17 15:42:53 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F7FFB9C7AD for ; Sun, 17 Jul 2016 15:42:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 547121836 for ; Sun, 17 Jul 2016 15:42:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6HFgqFJ021164 for ; Sun, 17 Jul 2016 15:42:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211174] www/py-flask-restplus: make test does nothing Date: Sun, 17 Jul 2016 15:42:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc blocked flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2016 15:42:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211174 Bug ID: 211174 Summary: www/py-flask-restplus: make test does nothing Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: andrej@ebert.su, pawel@FreeBSD.org Blocks: 210979 CC: andrej@ebert.su Flags: maintainer-feedback?(andrej@ebert.su) Created attachment 172608 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172608&action= =3Dedit partial fix test target in setup.py seems to be a stub. In order to run tests one has to use devel/py-test. $ make test [...] ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK After applying the patch $ make test [...] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _= _ _ _ def _find_app(): top =3D _app_ctx_stack.top if top is None: > raise RuntimeError(_app_ctx_err_msg) E RuntimeError: Working outside of application context. E E This typically means that you attempted to use functionality = that needed E to interface with the current application object in a way. To solve E this set up an application context with app.app_context(). S= ee the E documentation for more information. /usr/local/lib/python2.7/site-packages/flask/globals.py:51: RuntimeError =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 34 failed, 502 passed, 20 e= rror in 2.89 seconds =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D *** [do-test] Error code 1 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210979 [Bug 210979] [new port] www/py-flask-restplus Fully featured framework for = API development with Flask --=20 You are receiving this mail because: You are the assignee for the bug.=