mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
watson: use pytest for testing
This commit is contained in:
parent
50855c5141
commit
4976d7ec3f
1 changed files with 1 additions and 3 deletions
|
@ -12,10 +12,8 @@ buildPythonApplication rec {
|
|||
sha256 = "249313996751f32f38817d424cbf8d74956461df1439f0ee3a962fcc3c77225d";
|
||||
};
|
||||
|
||||
# uses tox, test invocation fails
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
py.test -vs tests
|
||||
pytest -vs tests
|
||||
'';
|
||||
|
||||
checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
|
||||
|
|
Loading…
Reference in a new issue