diff --git a/warden_server/test_warden_server.py b/warden_server/test_warden_server.py index 8a6807cc48e37278b14c00a6f4b5aa04dddfb838..4355407d671749665062b125dc1b82f32c69f3b1 100755 --- a/warden_server/test_warden_server.py +++ b/warden_server/test_warden_server.py @@ -7,6 +7,7 @@ import getpass import sys import warnings from os import path +from copy import deepcopy import unittest2 as unittest import MySQLdb as my from warden_server import build_server @@ -240,14 +241,14 @@ class Warden3ServerTest(unittest.TestCase): class X509AuthenticatorTest(Warden3ServerTest): """Performs the basic test suite using the X509Authenticator""" - config = dict(Warden3ServerTest.config) + config = deepcopy(Warden3ServerTest.config) config['auth']['type'] = 'X509Authenticator' app = build_server(config) class X509NameAuthenticatorTest(Warden3ServerTest): """Performs the basic test suite using the X509NameAuthenticator""" - config = dict(Warden3ServerTest.config) + config = deepcopy(Warden3ServerTest.config) config['auth']['type'] = 'X509NameAuthenticator' app = build_server(config)