Skip to content

Commit

Permalink
Rm unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Lukach committed Jul 7, 2017
1 parent 8cea06b commit df14e76
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions cadasta/tasks/tests/test_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,6 @@ def setUp(self):
self.mock_worker = Worker(
connection=self.mock_conn, queues=self.mock_queues)

def get_result_msg(self):
args, kwargs = [], {}
return MagicMock(
headers={},
payload={
'status': None,
'children': [],
'result': {'log': 'About to download some huge file'},
'traceback': None,
'task_id': '486e8738-a9ef-475a-b8e1-158e987f4ae6'
},
decode=MagicMock(return_value=(args, kwargs, {})),
properties={}
)

def get_task_msg(self, chain=None):
args, kwargs = [], {}
headers = {
Expand Down

0 comments on commit df14e76

Please sign in to comment.