The root resource isn't necessarily a JsonResource, so rename this method accordingly, and update a couple of test classes to use the method rather than directly manipulating self.resource.
2 lines
53 B
Plaintext
2 lines
53 B
Plaintext
Refactor test utilities for injecting HTTP requests.
|