From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH] gnu: Add python-psycopg2, python2-psycopg2 Date: Mon, 22 Feb 2016 01:39:49 +0100 Message-ID: <20160222013949.186f25bc@scratchpost.org> References: <20160219120106.62631a44@scratchpost.org> <20160219212258.GA4418@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXeY8-0006Nq-Ag for guix-devel@gnu.org; Sun, 21 Feb 2016 19:40:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXeXy-0008DO-Rh for guix-devel@gnu.org; Sun, 21 Feb 2016 19:40:23 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:35543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXeXy-0008DI-L8 for guix-devel@gnu.org; Sun, 21 Feb 2016 19:40:18 -0500 In-Reply-To: <20160219212258.GA4418@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel Hi, On Fri, 19 Feb 2016 16:22:58 -0500 Leo Famulari 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?