Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
python3Packages.pyfxa: fix tests
  • Loading branch information
jonringer committed Dec 2, 2019
1 parent cf5f079 commit 5ca8364
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/development/python-modules/pyfxa/default.nix
@@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, requests, cryptography, pybrowserid, hawkauthlib, six , requests, cryptography, pybrowserid, hawkauthlib, six
, grequests, mock, responses, unittest2 }: , grequests, mock, responses, pytest }:


buildPythonPackage rec { buildPythonPackage rec {
pname = "PyFxA"; pname = "PyFxA";
Expand All @@ -21,9 +21,13 @@ buildPythonPackage rec {
]; ];


checkInputs = [ checkInputs = [
grequests mock responses unittest2 grequests mock responses pytest
]; ];


checkPhase = ''
pytest
'';

meta = with lib; { meta = with lib; {
description = "Firefox Accounts client library for Python"; description = "Firefox Accounts client library for Python";
homepage = https://github.com/mozilla/PyFxA; homepage = https://github.com/mozilla/PyFxA;
Expand Down

0 comments on commit 5ca8364

Please sign in to comment.