Closed ethho closed 3 years ago
@shwetagopaul92 any updates on Loggly manual local testing?
@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.
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 ========================================
Coverage in the following pytest: https://github.com/TACC-Cloud/python-reactors/blob/135191ba4c4195d76ab0d170da3923f51a786109/tests/test_logs.py#L132-L158
Discussed during Ethan <> Shweta meeting 7/28/2021.
tox
) that checksstatus_code == 200
returned by POST to Logglytox
) thatassert Reactor().settings.loggly.customer_token is not None