python{2,3}Package.pytest-bdd: upgrade and fix test
This commit is contained in:
parent
ffd70e88a4
commit
5071556760
|
@ -12,14 +12,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-bdd";
|
pname = "pytest-bdd";
|
||||||
version = "3.2.1";
|
version = "4.0.1";
|
||||||
|
|
||||||
# tests are not included in pypi tarball
|
# tests are not included in pypi tarball
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pytest-dev";
|
owner = "pytest-dev";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "02y28l5h1m9grj54p681qvv7nrhd7ly9jkqdchyw4p0lnmcmnsrd";
|
sha256 = "1yqzz44as4pxffmg4hk9lijvnvlc2chg1maq1fbj5i4k4jpagvjz";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ glob2 Mako parse parse-type py pytest six ];
|
propagatedBuildInputs = [ glob2 Mako parse parse-type py pytest six ];
|
||||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||||
# Tests require extra dependencies
|
# Tests require extra dependencies
|
||||||
checkInputs = [ execnet mock pytest ];
|
checkInputs = [ execnet mock pytest ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest
|
PATH=$PATH:$out/bin pytest
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in New Issue