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

test: chore: refactor: feat: #37

Merged
merged 21 commits into from
Apr 13, 2020
Merged

test: chore: refactor: feat: #37

merged 21 commits into from
Apr 13, 2020

Conversation

leehanchung
Copy link
Member

Description

What Changed ? e.g. Github Issues Title or Trello Card Title

Type of change

Please delete options that are not relevant.

  • 🎨 CSS Styling fix
  • 🚑 Bug fix (non-breaking change which fixes an issue)
  • ♻️ 🗑️ Re-factor, cleanup, un-comment, docstring
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)

Change Status

  • 🏁 Complete, tested, ready to review and merge
  • 🚥 Complete, but not tested (may need new tests)
  • 🚧 WIP work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

  • Manually Functionality Testing
  • Unit Test

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • There are no merge conflicts

- Changed APP to app according to Flask/FastAPI standard
- Changed config_ to _config. trailing space is for python default conflicts not import
- Adding basic tests for endpoints
- 	est_app.py: testing �pp.py app title, description, version
- 	est_config.py: tested ProductionConfig, DevelopmentConfig, config loader
- 	est_endpoints.py: tested root test
- 	est_app.py: testing �pp.py app title, description, version
- 	est_config.py: tested ProductionConfig, DevelopmentConfig, config loader
- 	est_endpoints.py: tested root test
- '/' done
- '/news' only testing for 422 and 405, no validation yet
- '/twitter': tested 422, 404, 405, and random data sample validation
- '/county': tested 404, 405, 422. no data return validation yet
- '/state': tested 405, 422.
- '/country': tested 405, 422.
- '/stats': tested 405, 422.
- 	est_config.py: keeping assert == True/False for code readability
- 	est_endpoints.py: keeping TODO as a reminder to fix endpoints.py
- added .pylintrc
- fixed all files for pylint
- added .github/workflow/pythonapp.yml
- added pipenv, pylint and pytest
- streamlining pythonapp.yml
- triggers pythonapp.yml on all push and pull_request
Copy link
Member Author

@leehanchung leehanchung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

read

@hurshd0 hurshd0 merged commit 0382ae8 into staging Apr 13, 2020
@hurshd0 hurshd0 deleted the tests branch April 13, 2020 01:40
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.

None yet

2 participants