Merge pull request #574 from tahoe-lafs/3004.eliotloggedruntest-addcleanup

Fix Eliot logging integration

Fixes: ticket:3004
This commit is contained in:
Jean-Paul Calderone 2019-03-19 14:23:13 -04:00 committed by GitHub
commit a14d9f6116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

0
newsfragments/3004.minor Normal file
View File

View File

@ -151,8 +151,8 @@ class EliotLoggedRunTest(object):
def eliot_logger(self, value):
self.case.eliot_logger = value
def addCleanup(self, f):
return self.case.addCleanup(f)
def addCleanup(self, *a, **kw):
return self.case.addCleanup(*a, **kw)
def id(self):
return self.case.id()