mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
mailman: add django_mailman3 testing
This commit is contained in:
parent
6bff4c107e
commit
582bb94624
@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, django-gravatar2, django_compressor
|
||||
, django-allauth, mailmanclient
|
||||
, django-allauth, mailmanclient, django, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -14,8 +14,12 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
django-gravatar2 django_compressor django-allauth mailmanclient
|
||||
];
|
||||
checkInputs = [ django mock ];
|
||||
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
cd $NIX_BUILD_TOP/$sourceRoot
|
||||
PYTHONPATH=.:$PYTHONPATH django-admin.py test --settings=django_mailman3.tests.settings_test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Django library for Mailman UIs";
|
||||
|
Loading…
Reference in New Issue
Block a user