pythonPackages.mox3: disabling tests

This commit is contained in:
Marek Mahut 2019-08-19 16:37:36 +02:00 committed by Frederik Rietdijk
parent 4497bee1ac
commit 5646ada5fd

@ -20,16 +20,12 @@ buildPythonPackage rec {
sha256 = "b13c0b8459d6fb0688f9a4e70feeec43fa2cca05b727fc01156789596e083bb1";
};
patchPhase = ''
sed -i 's@python@${python.interpreter}@' .testr.conf
'';
buildInputs = [ subunit testrepository testtools six ];
propagatedBuildInputs = [ pbr fixtures ];
# FAIL: mox3.tests.test_mox.RegexTest.testReprWithFlags
# ValueError: cannot use LOCALE flag with a str pattern
doCheck = !isPy36;
# Disabling as several tests depdencies are missing:
# https://opendev.org/openstack/mox3/src/branch/master/test-requirements.txt
doCheck = false;
meta = with stdenv.lib; {
description = "Mock object framework for Python";