summaryrefslogtreecommitdiff
path: root/docs/narr/MyProject/myproject/tests.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-12-09 02:50:15 -0500
committerChris McDonough <chrism@plope.com>2010-12-09 02:50:15 -0500
commitf360d9e6d9689dfe92a950e97e7e19c414655997 (patch)
treef0456af418ecfaf7d5a342556d2c5786b2aee979 /docs/narr/MyProject/myproject/tests.py
parentc18b16d293ee60117747f0de042e2d75361d1fd8 (diff)
parent13173e9e1d1c5f3873e8bfed91e6f3ed561dafaf (diff)
downloadpyramid-f360d9e6d9689dfe92a950e97e7e19c414655997.tar.gz
pyramid-f360d9e6d9689dfe92a950e97e7e19c414655997.tar.bz2
pyramid-f360d9e6d9689dfe92a950e97e7e19c414655997.zip
Merge branch 'twophase'
Conflicts: pyramid/configuration.py
Diffstat (limited to 'docs/narr/MyProject/myproject/tests.py')
-rw-r--r--docs/narr/MyProject/myproject/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/MyProject/myproject/tests.py b/docs/narr/MyProject/myproject/tests.py
index 2f14a946b..b14fb37af 100644
--- a/docs/narr/MyProject/myproject/tests.py
+++ b/docs/narr/MyProject/myproject/tests.py
@@ -1,11 +1,11 @@
import unittest
-from pyramid.configuration import Configurator
+from pyramid.config import Configurator
from pyramid import testing
class ViewTests(unittest.TestCase):
def setUp(self):
- self.config = Configurator()
+ self.config = Configurator(autocommit=True)
self.config.begin()
def tearDown(self):