diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-01-22 01:36:43 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-23 01:09:42 +0100 |
commit | eaac7aa4a7559d34dbea33313bb8d0f1f56e3ee8 (patch) | |
tree | 58fdc1a862771e897071588a82559c2263202b8e /pkgs/development/python-modules/flexmock | |
parent | 632c4f444f61bb343d21c00b8b8541baadb12cec (diff) |
python3Packages.flexmock: update check part
Diffstat (limited to 'pkgs/development/python-modules/flexmock')
-rw-r--r-- | pkgs/development/python-modules/flexmock/default.nix | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/flexmock/default.nix b/pkgs/development/python-modules/flexmock/default.nix index 923bc0cdc6c5b..11f3ad694fcac 100644 --- a/pkgs/development/python-modules/flexmock/default.nix +++ b/pkgs/development/python-modules/flexmock/default.nix @@ -1,26 +1,42 @@ { lib , buildPythonPackage , fetchPypi -, pytest +, pytestCheckHook +, pythonOlder +, teamcity-messages +, testtools }: buildPythonPackage rec { pname = "flexmock"; version = "0.11.2"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "44f702c0d0adde7085b4c7afe9adab50b01b724aceeb7e49b29f5632e6325ce8"; + hash = "sha256-RPcCwNCt3nCFtMev6a2rULAbckrO635Jsp9WMuYyXOg="; }; - checkInputs = [ pytest ]; - checkPhase = '' - py.test - ''; + checkInputs = [ + pytestCheckHook + teamcity-messages + testtools + ]; + + disabledTests = [ + "test_failed_test_case" + ]; + + pythonImportsCheck = [ + "flexmock" + ]; meta = with lib; { - description = "flexmock is a testing library for Python that makes it easy to create mocks,stubs and fakes."; + description = "Testing library that makes it easy to create mocks,stubs and fakes"; homepage = "https://flexmock.readthedocs.org"; license = licenses.bsdOriginal; + maintainers = with maintainers; [ ]; }; } |