Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40433

Re: How to prevent tests from running against production?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!tr22g12.aset.psu.edu!newsflash.concordia.ca!canopus.cc.umanitoba.ca!utnut!rumours.uwaterloo.ca!.POSTED!not-for-mail
From Ross Ridge <rridge@csclub.uwaterloo.ca>
Newsgroups comp.lang.python
Subject Re: How to prevent tests from running against production?
Date Sun, 03 Mar 2013 23:30:02 -0500
Organization University of Waterloo
Lines 15
Message-ID <kh180a$n8u$1@rumours.uwaterloo.ca> (permalink)
References <roy-A05619.16561603032013@news.panix.com>
NNTP-Posting-Host caffeine.csclub.uwaterloo.ca
X-Trace rumours.uwaterloo.ca 1362371402 23838 129.97.134.17 (4 Mar 2013 04:30:02 GMT)
X-Complaints-To abuse@uwaterloo.ca
NNTP-Posting-Date Mon, 4 Mar 2013 04:30:02 +0000 (UTC)
Xref csiph.com comp.lang.python:40433

Show key headers only | View raw


Roy Smith  <roy@panix.com> wrote:
>Our deploy/configuration system includes credentials for connecting to a 
>database.  We have one production database, and a variety of clones of 
>that in our test and development environments.

Having your tests use credentials that don't work in the production
environment would seem to be the obvious solution.

						Ross Ridge

-- 
 l/  //	  Ross Ridge -- The Great HTMU
[oo][oo]  rridge@csclub.uwaterloo.ca
-()-/()/  http://www.csclub.uwaterloo.ca/~rridge/ 
 db  //	  

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to prevent tests from running against production? Roy Smith <roy@panix.com> - 2013-03-03 16:56 -0500
  Re: How to prevent tests from running against production? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2013-03-03 23:30 -0500
  Re: How to prevent tests from running against production? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-04 07:05 +0000

csiph-web