watson: use pytest for testing
This commit is contained in:
parent
50855c5141
commit
4976d7ec3f
@ -12,10 +12,8 @@ buildPythonApplication rec {
|
|||||||
sha256 = "249313996751f32f38817d424cbf8d74956461df1439f0ee3a962fcc3c77225d";
|
sha256 = "249313996751f32f38817d424cbf8d74956461df1439f0ee3a962fcc3c77225d";
|
||||||
};
|
};
|
||||||
|
|
||||||
# uses tox, test invocation fails
|
|
||||||
doCheck = true;
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test -vs tests
|
pytest -vs tests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
|
checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user