TACC-Cloud / python-reactors

Python SDK for working with Abaco Actors
1 stars 0 forks source link

Add tests for Loggly integration #33

Closed ethho closed 3 years ago

ethho commented 3 years ago

Discussed during Ethan <> Shweta meeting 7/28/2021.

ethho commented 3 years ago

@shwetagopaul92 any updates on Loggly manual local testing?

shwetagopaul92 commented 3 years ago

@eho-tacc Yes, the manual testing worked fine. I have attached a screenshot to show the logs on Loggly Interface. I am currently working from the branch feat-loggly-integration to add tests with the customer_token set in Github Secrets.

Screen Shot 2021-07-28 at 5 35 08 PM

ethho commented 3 years ago

On feat-loggly-integration 8a5cc54:

$ tox -- -k 'loggly'
# ...
FAILED tests/test_logs.py::test_loggly_log[R_tp_opt] - NameError: name 'self' is not defined
FAILED tests/test_logs.py::test_loggly_log[R_bare] - NameError: name 'self' is not defined
======================================== 2 failed, 2 passed, 46 deselected, 4 warnings in 0.83s ========================================
ethho commented 3 years ago

Coverage in the following pytest: https://github.com/TACC-Cloud/python-reactors/blob/135191ba4c4195d76ab0d170da3923f51a786109/tests/test_logs.py#L132-L158