You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
Lots of tests need to mock/patch lots of things. Mocking/patching takes more lines of code than the actual test, and it duplicates in every test. This should be refactored in order to improve readability and simplify addition of new tests.
The text was updated successfully, but these errors were encountered:
@vpetersson As I said before, this task has a wrong description. Tests don't send pings to the server. I suggested we call this task "refactor agent tests" and it will be about deduping/refactoring agent's tests.
a-martynovich
changed the title
Some tests may send actual pings to the server.
Refactor/dedup agent tests
Nov 25, 2019
Lots of tests need to mock/patch lots of things. Mocking/patching takes more lines of code than the actual test, and it duplicates in every test. This should be refactored in order to improve readability and simplify addition of new tests.
The text was updated successfully, but these errors were encountered: