Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
auvipy committed Nov 19, 2020
2 parents ed478dd + 347da9c commit 627a227
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/unit/backends/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def test_backend__pickle_serialization__dict_result(self):
request.args = ['a', 1, SomeClass(67)]
request.kwargs = {'c': 6, 'd': 'e', 'f': SomeClass(89)}
request.hostname = 'celery@ip-0-0-0-0'
request.chord = None
del request.argsrepr, request.kwargsrepr

self.b.mark_as_done(tid2, result, request=request)
Expand Down Expand Up @@ -81,6 +82,7 @@ def test_backend__pickle_serialization__str_result(self):
request.args = ['a', 1, SomeClass(67)]
request.kwargs = {'c': 6, 'd': 'e', 'f': SomeClass(89)}
request.hostname = 'celery@ip-0-0-0-0'
request.chord = None
del request.argsrepr, request.kwargsrepr

self.b.mark_as_done(tid2, result, request=request)
Expand Down Expand Up @@ -111,6 +113,7 @@ def test_backend__pickle_serialization__bytes_result(self):
request.args = ['a', 1, SomeClass(67)]
request.kwargs = {'c': 6, 'd': 'e', 'f': SomeClass(89)}
request.hostname = 'celery@ip-0-0-0-0'
request.chord = None
del request.argsrepr, request.kwargsrepr

self.b.mark_as_done(tid2, result, request=request)
Expand Down

0 comments on commit 627a227

Please sign in to comment.