Also:
* pytest-relaxed is not loaded by default since commit
ac9e67fa461c484fd751040bb6b58c258b6d601c.
* make tests more verbose.
Closes: https://bugs.gentoo.org/666623
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
test_nlst
)
skipped_tests=${skipped_tests[@]/%/ or}
- # Don't load the relaxed plugin, see https://bugs.gentoo.org/661082
- py.test --ignore ${PN}/test/test_misc.py -k "not (${skipped_tests% or})" \
- -p no:relaxed || die "Tests failed with ${EPYTHON}"
+ # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623
+ TZ=UTC+1 pytest -vv \
+ --ignore ${PN}/test/test_misc.py -k "not (${skipped_tests% or})" \
+ || die "Tests failed with ${EPYTHON}"
}
python_install_all() {