Skip to content

Commit

Permalink
dev-python/bokeh: Move to pytest
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Jan 7, 2016
1 parent 23d4e58 commit ce3cfba
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions dev-python/bokeh/bokeh-0.11.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,14 @@ RDEPEND="
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' python2_7)
)
"
dev-python/pytest[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2*')
$(python_gen_cond_dep 'dev-python/flexx[${PYTHON_USEDEP}]' 'python3*')
)"

python_test() {
cd "${BUILD_DIR}"/lib || die
# exclude server tests for now
nosetests -v \
-e multiuser_auth_test \
-e usermodel_test \
|| die
py.test -m 'not (js or examples or integration)' -vv || die
}

python_install_all() {
Expand Down

0 comments on commit ce3cfba

Please sign in to comment.