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?

From Ross Ridge <rridge@csclub.uwaterloo.ca>
Newsgroups comp.lang.python
Subject Re: How to prevent tests from running against production?
Date 2013-03-03 23:30 -0500
Organization University of Waterloo
Message-ID <kh180a$n8u$1@rumours.uwaterloo.ca> (permalink)
References <roy-A05619.16561603032013@news.panix.com>

Show all headers | 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