Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4175 from golemfactory/subtask_eta_removed
Browse files Browse the repository at this point in the history
[golemcli] tasks subtasks ETA removed
  • Loading branch information
tworec authored May 13, 2019
2 parents 8a243e6 + b689729 commit a0a72c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions golem/interface/client/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Tasks:

task_table_headers = ['id', 'ETA',
'subtasks_count', 'status', 'completion']
subtask_table_headers = ['node', 'id', 'ETA', 'status', 'completion']
subtask_table_headers = ['node', 'id', 'status', 'completion']
unsupport_reasons_table_headers = ['reason', 'no of tasks',
'avg for all tasks']

Expand Down Expand Up @@ -118,7 +118,6 @@ def subtasks(self, id, sort):
values.append([
subtask['node_name'],
subtask['subtask_id'],
Tasks.__format_seconds(subtask['time_remaining']),
subtask['status'],
Tasks.__progress_str(subtask['progress'])
])
Expand Down
2 changes: 1 addition & 1 deletion tests/golem/interface/test_client_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ def test_subtasks_ok(self):
subtasks = tasks.subtasks('745c1d01', None)
assert isinstance(subtasks, CommandResult)
assert subtasks.data[1][0] == [
'node_1', 'subtask_1', '0:00:09', 'waiting', '1.00 %'
'node_1', 'subtask_1', 'waiting', '1.00 %'
]

def test_subtasks_error(self):
Expand Down

0 comments on commit a0a72c7

Please sign in to comment.