Commits

Mikhail Korobov committed 6b53b82

fix test for python 2.6 + django 1.2

  • Participants
  • Parent commits 0e03ccf

Comments (0)

Files changed (1)

django_webtest_tests/testapp_tests/tests.py

 
         resp2 = self.app.get('/template/index.html')
         environ = resp2.request.environ
-        self.assertNotIn('WEBTEST_USER', environ)
+        self.assertTrue('WEBTEST_USER' not in environ)
         self.assertEqual(environ['REMOTE_ADDR'], '127.0.0.2')
 
         resp3 = self.app.get('/template/index.html',