guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add python-psycopg2, python2-psycopg2


From: Christopher Allan Webber
Subject: Re: [PATCH] gnu: Add python-psycopg2, python2-psycopg2
Date: Sun, 21 Feb 2016 18:38:51 -0800
User-agent: mu4e 0.9.13; emacs 24.5.1

Danny Milosavljevic writes:

> Hi,
>
> On Fri, 19 Feb 2016 16:22:58 -0500
> Leo Famulari <address@hidden> wrote:
>
>> > +     `(#:tests? #f)) ; TODO re-enable  
>> 
>> Why are the tests disabled?
>
> Because it would require a postgresql database "psycopg2_test" and a
> running postgresql database management service.
>
> Not sure what the usual way to do that is. Should it create the db on
> a temporary dbms service on-the-fly and drop it later?
>
> Or we could mock out the server and just have it return constant stuff
> as if it was postgresql. Is that already available somewhere?

My personal suggestion would be to push to master without the tests for
now, and add a comment explaining why this is hard.  I think someone
needs to figure out a nice way to spin up a mini-service for running
postgres during tests; some of my stuff could use that too.  But we
should merge and push this with an additional comment.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]