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

Lib test #5

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Lib test #5

wants to merge 9 commits into from

Conversation

CRMGB
Copy link
Collaborator

@CRMGB CRMGB commented Jul 4, 2023

  • Unit-tests added for the logdadta.py file using the features of process_download_logs.py.
  • Added typing annotations to every python file.
  • Run Flake8 through all files.
  • Added f strings to all strings where needed.
  • Modified the exception handling.
  • Minor changes like moving all the env variables to the process_download_logs.py to help me testing.
  • Moved the method 'line_to_request' to the LogStream class and renamed to 'check_url_matches' to help me testing and make the code more understandable.
  • Ignore calling the class Request if the request is malformed.
  • Place an underscore in the unused variables.

rowan08 and others added 9 commits June 16, 2023 12:13
…re clear instead of a monosibly words which might be confusing. Added a test for the class requests, a few more tests pendant
… gets closed, still [pendant to create the tests for proccess download
…s so it could be tested easier, corrections to tests and added missing typing annotations, moved over the parse_url so it's cleaner
…ing, replaced most of the real data with dummy data, and deleted test files in the teardown.
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.

2 participants