[Bug 211174] www/py-flask-restplus: make test does nothing
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 17 15:42:53 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211174
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 at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: andrej at ebert.su, pawel at FreeBSD.org
Blocks: 210979
CC: andrej at ebert.su
Flags: maintainer-feedback?(andrej at ebert.su)
Created attachment 172608
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172608&action=edit
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 = _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(). See
the
E documentation for more information.
/usr/local/lib/python2.7/site-packages/flask/globals.py:51: RuntimeError
=============== 34 failed, 502 passed, 20 error in 2.89 seconds
================
*** [do-test] Error code 1
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210979
[Bug 210979] [new port] www/py-flask-restplus Fully featured framework for API
development with Flask
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list