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

Refactors code for testability #30

Merged
merged 28 commits into from
Jul 24, 2024
Merged

Refactors code for testability #30

merged 28 commits into from
Jul 24, 2024

Conversation

djperrefort
Copy link
Member

@djperrefort djperrefort commented Jul 23, 2024

This PR reflects a significant rewrite. Instead of encapsulating everything into a single class, logic is broken into separate classes in accordance with the SRP. This improves readability and testability. I've also included improved test coverage.

Closes #10
Closes #11

@djperrefort djperrefort marked this pull request as ready for review July 24, 2024 17:12
@djperrefort djperrefort enabled auto-merge (squash) July 24, 2024 17:13
@djperrefort djperrefort merged commit 771cbeb into main Jul 24, 2024
14 checks passed
@djperrefort djperrefort deleted the seperate_classes branch July 24, 2024 17:23
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

Successfully merging this pull request may close these issues.

Add tests for KeystoneClient.logout method Add tests for KeystoneClient.login method
1 participant