diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-12-02 10:59:52 -0800 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-12-02 13:28:15 -0800 |
commit | 5ca83643325d17f5f8b979c9d083ac490a87466d (patch) | |
tree | 50ad39d8685020ff6de3d56507bc30b0dba50c9a | |
parent | cf5f0799915ff61d34d115d56ef085e48f1dfd64 (diff) |
python3Packages.pyfxa: fix tests
-rw-r--r-- | pkgs/development/python-modules/pyfxa/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pyfxa/default.nix b/pkgs/development/python-modules/pyfxa/default.nix index be6502893a36c..4bde8e9997ac8 100644 --- a/pkgs/development/python-modules/pyfxa/default.nix +++ b/pkgs/development/python-modules/pyfxa/default.nix @@ -1,6 +1,6 @@ { lib, buildPythonPackage, fetchPypi , requests, cryptography, pybrowserid, hawkauthlib, six -, grequests, mock, responses, unittest2 }: +, grequests, mock, responses, pytest }: buildPythonPackage rec { pname = "PyFxA"; @@ -21,9 +21,13 @@ buildPythonPackage rec { ]; checkInputs = [ - grequests mock responses unittest2 + grequests mock responses pytest ]; + checkPhase = '' + pytest + ''; + meta = with lib; { description = "Firefox Accounts client library for Python"; homepage = https://github.com/mozilla/PyFxA; |