dev-python/python-oembed: Restrict tests due to network use
authorMichał Górny <mgorny@gentoo.org>
Sat, 21 Apr 2018 08:22:45 +0000 (10:22 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 21 Apr 2018 08:25:34 +0000 (10:25 +0200)
Closes: https://bugs.gentoo.org/430392

dev-python/python-oembed/python-oembed-0.2.4.ebuild

index db632ac17f7590124093ef78b0d28b183f1904fd..474d5968685b8b19a30c11fe9deae0edaa2e23b3 100644 (file)
@@ -14,6 +14,9 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="test"
+# all tests access network, also assume that localhost will have
+# no HTTP server running (which is extremely silly)
+RESTRICT="test"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        test? ( dev-python/nose[${PYTHON_USEDEP}] )"