python3Packages.tempora: fix tests

This commit is contained in:
Jonathan Ringer
2020-08-18 00:53:53 -07:00
committed by Jon
parent 8d881b0d7b
commit af96702aac
2 changed files with 4 additions and 33 deletions

View File

@@ -1,6 +1,8 @@
{ lib, buildPythonPackage, fetchPypi
, setuptools_scm, pytest, pytest-freezegun, freezegun, backports_unittest-mock
, six, pytz, jaraco_functools, pythonOlder }:
, six, pytz, jaraco_functools, pythonOlder
, pytest-flake8, pytestcov, pytest-black, pytest-mypy
}:
buildPythonPackage rec {
pname = "tempora";
@@ -15,14 +17,11 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools_scm ];
patches = [
./0001-pytest-remove-flake8-black-coverage.patch
];
propagatedBuildInputs = [ six pytz jaraco_functools ];
checkInputs = [
pytest-freezegun pytest freezegun backports_unittest-mock
pytest-flake8 pytestcov pytest-black pytest-mypy
];
checkPhase = ''