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

Begin breaking apart gam.py into logical pieces #1047

Merged
merged 3 commits into from
Dec 7, 2019

Conversation

ejochman
Copy link
Contributor

@ejochman ejochman commented Dec 3, 2019

Start with one of the deepest parts of the stack, Google API request execution calls and associated errors. Critical information printing functions and application control logic are also broken out into their own components.

This change also adds unit tests for migrated content and makes code more PEP8 compliant.

This commit starts work on #147

Start with one of the deepest parts of the stack, Google API request execution calls and associated errors. Critical information printing functions and application control logic are also broken out into their own components.

This change also adds unit tests for migrated content and makes code more PEP8 compliant.

This commit starts work on  GAM-team#147
@ejochman
Copy link
Contributor Author

ejochman commented Dec 3, 2019

@jay0lee I won't claim to be familiar with the build environment you're using, so if there's anywhere that these new files needed to be added to a build config, let me know.

@daethnir
Copy link
Contributor

daethnir commented Dec 3, 2019

@ejochman if you want to improve GAM, I'd start instead with the https://github.com/taers232c/GAMADV-XTD3 source. It is a better codebase (proper exit statuses, support for more features, python3 compatible) and tends to get new features earlier than GAM itself, while maintaining command line compatibility.

@jay0lee
Copy link
Member

jay0lee commented Dec 6, 2019

This looks like a good start, for the unit tests you added, can we also add them to .travis.yaml so they are executed on all changes?

Makes tests compatible with Python 3.5. assert_called_once() is only available in Python 3.6+
@jay0lee jay0lee merged commit a0c410b into GAM-team:master Dec 7, 2019
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.

3 participants