-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove DownloadManager.dummy_mode
#7797
Comments
How the dummy_mode is used in our test infrastructureThe
The tribler/src/tribler/gui/tests/test_gui.py Line 59 in 8c2f12c
Therefore it is used in guitest workflow: https://github.com/Tribler/tribler/blob/main/.github/workflows/guitest.yml What is the dummy_modeThe following lines are affected by tribler/src/tribler/core/components/libtorrent/download_manager/download_manager.py Line 128 in 8c2f12c
tribler/src/tribler/core/components/libtorrent/download_manager/download_manager.py Lines 198 to 205 in 8c2f12c
tribler/src/tribler/core/components/libtorrent/download_manager/download_manager.py Lines 252 to 259 in 8c2f12c
tribler/src/tribler/core/components/libtorrent/download_manager/download_manager.py Lines 324 to 328 in 8c2f12c
tribler/src/tribler/core/components/libtorrent/download_manager/download_manager.py Lines 634 to 636 in 8c2f12c
|
Working from the results of this analysis, I think |
DownloadManager.dummy_mode
DownloadManager.dummy_mode
This appears to have been resolved in #7466 |
In #7466 it was uncovered that
dummy_mode
ofDownloadManager
is uncovered.The
dummy_mode
code being uncovered suggests that the corresponding code is dead code and can be removed. However, we should check that this is indeed the case.If the code related to
dummy_mode
is indeed dead code, we can remove it.The text was updated successfully, but these errors were encountered: