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
It also passes. Even though it should absolutely not pass. This gives the appearance of us having a test for it, but it's not really a test. Many of the unit and integration tests in the repo are like this.
Describe the solution you'd like
Reduce the use of Mock. Only use it where it's actually applicable. Otherwise it just always passes.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We have tests for many things, but they don't really test. Here's an example:
This test tests the
subtensor.set_weights
method, and it passes. However, if we modify the values:It also passes. Even though it should absolutely not pass. This gives the appearance of us having a test for it, but it's not really a test. Many of the unit and integration tests in the repo are like this.
Describe the solution you'd like
Reduce the use of Mock. Only use it where it's actually applicable. Otherwise it just always passes.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: