How to prevent tests from running against production?
Ross Ridge
rridge at csclub.uwaterloo.ca
Sun Mar 3 23:30:02 EST 2013
Roy Smith <roy at 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 at csclub.uwaterloo.ca
-()-/()/ http://www.csclub.uwaterloo.ca/~rridge/
db //
More information about the Python-list
mailing list