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

Fix some issues with the sensor test #339

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

mbaldessari
Copy link
Contributor

  1. Make sure we use the base64-decoded strings from the gitea_admin
    secret (for both username and password)

  2. If we're unable to fetch from the gitea remote, error out and explain
    why

  3. Also error out properly when git push fails

  4. Also remove the gitea-qe remote everytime to make this more
    idempotent

With these changes I was able to get it passing again:

test_toggle_machine_sensor.py::test_toggle_machine_sensor PASSED [100%]

1. Make sure we use the base64-decoded strings from the gitea_admin
   secret (for both username and password)

2. If we're unable to fetch from the gitea remote, error out and explain
   why

3. Also error out properly when git push fails

4. Also remove the gitea-qe remote everytime to make this more
   idempotent

With these changes I was able to get it passing again:

    test_toggle_machine_sensor.py::test_toggle_machine_sensor PASSED [100%]
@mbaldessari mbaldessari merged commit 210180d into validatedpatterns:main Jan 15, 2025
1 check passed
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.

1 participant