Permalink
Browse files

prep for configphases merge

  • Loading branch information...
1 parent acc17a7 commit e4df4fa4c6a8de18b7b3abef0aa5627ccb724fb2 @mcdonc mcdonc committed Aug 24, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 pyramid_handlers/tests.py
@@ -364,11 +364,11 @@ def aview(self): pass
try:
config.commit()
except ConfigurationConflictError, why:
- c1, c2, c3, c4 = self._conflictFunctions(why)
- self.assertEqual(c1, 'test_conflict_add_handler')
- self.assertEqual(c2, 'test_conflict_add_handler')
- self.assertEqual(c3, 'test_conflict_add_handler')
- self.assertEqual(c3, 'test_conflict_add_handler')
+ c = list(self._conflictFunctions(why))
+ self.assertEqual(c[0], 'test_conflict_add_handler')
+ self.assertEqual(c[1], 'test_conflict_add_handler')
+ self.assertEqual(c[2], 'test_conflict_add_handler')
+ self.assertEqual(c[3], 'test_conflict_add_handler')
else: # pragma: no cover
raise AssertionError

0 comments on commit e4df4fa

Please sign in to comment.