python3Packages.pyfxa: fix tests

This commit is contained in:
Jonathan Ringer 2019-12-02 10:59:52 -08:00 committed by Jon
parent cf5f079991
commit 5ca8364332
1 changed files with 6 additions and 2 deletions

View File

@ -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";
@ -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;