pythonPackages.prawcore: fix tests

This commit is contained in:
Jonathan Ringer 2019-10-26 17:20:34 -07:00 committed by Frederik Rietdijk
parent 4fbf45665f
commit 72ba0102d0

View file

@ -1,7 +1,7 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi
, requests , requests
, testfixtures, mock, requests_toolbelt , testfixtures, mock, requests_toolbelt
, betamax, betamax-serializers, betamax-matchers , betamax, betamax-serializers, betamax-matchers, pytest
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -24,8 +24,13 @@ buildPythonPackage rec {
betamax-serializers betamax-serializers
betamax-matchers betamax-matchers
requests_toolbelt requests_toolbelt
pytest
]; ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Low-level communication layer for PRAW"; description = "Low-level communication layer for PRAW";
homepage = https://praw.readthedocs.org/; homepage = https://praw.readthedocs.org/;