-
Notifications
You must be signed in to change notification settings - Fork 451
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
Refactor test dependencies #2351
Conversation
1202c63
to
069fb18
Compare
you okay with this changes, @devos50? |
b5e15f0
to
93cb96d
Compare
aa037bf
to
d0407a9
Compare
retest this please |
I'm also finished with this one, @devos50. Or maybe can you point out other test that have dependencies? |
retest this please |
retest this please last run : timeout on TestVariablesEndpoint |
@@ -20,8 +20,9 @@ | |||
from Tribler.Main.Utility.GuiDBTuples import CollectedTorrent | |||
from Tribler.Policies.BoostingManager import BoostingManager, BoostingSettings | |||
from Tribler.Test.Core.CreditMining.mock_creditmining import MockLtTorrent, ResourceFailClass | |||
from Tribler.Test.common import TORRENT_FILE | |||
from Tribler.Test.test_as_server import TestAsServer, TESTS_DATA_DIR | |||
from Tribler.Test.Core.Modules.Channel.base_test_channel import BaseTestChannel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you are creating a dependency again between Tribler.Test.Core.Modules.Channel
and Tribler.Test.Core.CreditMining
. Please try to avoid that (i.e. moving the code you need to another location).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, that's where I put common function that used in Both Core.CreditMining
and Core.Modules.Channel
. Should I put that, let say, in Test.Core
?
3b92877
to
fecca2b
Compare
retest this please last run error in TestModifyChannelTorrentEndpoint |
@ardhipoetra what's the status of this PR? |
9225cdb
to
65525e1
Compare
@devos50, last time I worked on it, it was ready for review. Now some are conflicting, I'm on my way to fix them. |
9a0f722
to
19667dc
Compare
4578209
to
abc7894
Compare
retest this please last run : looks okay |
retest this please |
Do you want to review it again, @devos50? |
retest this please |
2 similar comments
retest this please |
retest this please |
@ardhipoetra looks ok! Please squash the fixup commits and I will merge it. |
abc7894
to
12989aa
Compare
12989aa
to
5a74831
Compare
retest this please |
1 similar comment
retest this please |
go on and merge, @devos50 |
In this PR, I will fix dependencies on tests that I can find. This also related to this PR