Skip to content

Commit

Permalink
Make the test ordering dependency doubly explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Clark committed Aug 16, 2012
1 parent 869d28a commit 2dcc7ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/greplin/defer/context_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ def crashy(self):

@inline.callbacks
def testContextIsRestoredWhenExceptionsThrown(self):
"""When an error occurs in a deferred, context should be restored appropriately"""
"""
When an error occurs in a deferred, context should be restored appropriately
This test has a follow up (testD..) that imposes an ordering requirement based on method name.
"""
self.assertFalse(context.has('foo'))
try:
with context.set(foo='bar'):
Expand Down

0 comments on commit 2dcc7ae

Please sign in to comment.