File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ async def _status() -> None:
101101 free_space = await api .free_space ()
102102 click .echo (
103103 f"Status:\n "
104- f" - Active Downloads : { stat ['active' ]} \n "
105- f" - Items in Queue : { stat ['queue' ]} \n "
106- f" - Finished Downloads : { stat ['total' ]} \n "
107- f" - Download Speed : { round ((stat ['speed' ] * 8 ) / 1000000 , 2 ) } Mbit/s\n "
104+ f" - Active downloads : { stat ['active' ]} \n "
105+ f" - Items in queue : { stat ['queue' ]} \n "
106+ f" - Total downloads : { stat ['total' ]} \n "
107+ f" - Download speed : { round ((stat ['speed' ] * 8 ) / 1000000 , 2 ) } Mbit/s\n "
108108 f" - Free space: { round (free_space / (1024 ** 3 ), 2 )} GiB\n "
109109 f" - Reconnect: { 'Enabled' if stat ['reconnect' ] else 'Disabled' } \n "
110110 f" - Queue : { 'Paused' if stat ['pause' ] else 'Running' } \n "
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ def test_status() -> None:
2424 assert result .exit_code == 0
2525 assert result .output == (
2626 "Status:\n "
27- " - Active Downloads : 10\n "
28- " - Items in Queue : 5\n "
29- " - Finished Downloads : 15\n "
30- " - Download Speed : 80.0 Mbit/s\n "
27+ " - Active downloads : 10\n "
28+ " - Items in queue : 5\n "
29+ " - Total downloads : 15\n "
30+ " - Download speed : 80.0 Mbit/s\n "
3131 " - Free space: 100.0 GiB\n "
3232 " - Reconnect: Disabled\n "
3333 " - Queue : Running\n \n "
You can’t perform that action at this time.
0 commit comments