@@ -1,25 +1,44 @@
1−{ lib, buildPythonPackage, fetchPypi, fetchpatch, isPy27
2−, mock, pytest, sybil, zope_component, twisted }:
1+{ lib
2+, buildPythonPackage
3+, fetchpatch
4+, fetchPypi
5+, isPy27
6+, mock
7+, pytestCheckHook
8+, sybil
9+, twisted
10+, zope_component
11+}:
312
413buildPythonPackage rec {
514 pname = "testfixtures";
6− version = "6.17.1";
15+ version = "6.18.0";
716
817 src = fetchPypi {
918 inherit pname version;
10− sha256 = "5ec3a0dd6f71cc4c304fbc024a10cc293d3e0b852c868014b9f233203e149bda";
19+ sha256 = "sha256-1L0cT5DqyQpz4b3FnDHQOUPyGNaH88WgnkhHiEGor18=";
1120 };
1221
13− checkInputs = [ pytest mock sybil zope_component twisted ];
22+ checkInputs = [
23+ pytestCheckHook
24+ mock
25+ sybil
26+ zope_component
27+ twisted
28+ ];
1429
1530 doCheck = !isPy27;
16− checkPhase = ''
17− # django is too much hasle to setup at the moment
18− pytest -W ignore::DeprecationWarning \
19− --ignore=testfixtures/tests/test_django \
20− -k 'not (log_then_patch or our_wrap_dealing_with_mock_patch or patch_with_dict)' \
21− testfixtures/tests
22− '';
31+
32+ disabledTestPaths = [
33+ # Django is too much hasle to setup at the moment
34+ "testfixtures/tests/test_django"
35+ ];
36+
37+ pytestFlagsArray = [
38+ "testfixtures/tests"
39+ ];
40+
41+ pythonImportsCheck = [ "testfixtures" ];
2342
2443 meta = with lib; {
2544 homepage = "https://github.com/Simplistix/testfixtures";