Skip to content
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 models for fewer API calls #78

Open
mscarey opened this issue Aug 2, 2020 · 1 comment
Open

refactor test models for fewer API calls #78

mscarey opened this issue Aug 2, 2020 · 1 comment

Comments

@mscarey
Copy link
Owner

mscarey commented Aug 2, 2020

It would be good if each API call was represented by just one cassette. Or at least just one in an actual test and one in conftest.

@mscarey
Copy link
Owner Author

mscarey commented Aug 13, 2020

I created the JSONRepository class to store mock API calls locally, and then I moved it entirely out of AuthoritySpoke, into Legislice. But I should still be able to eliminate cassettes by accessing a JSONRepository instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant