Skip to content

Conversation

@nealrichardson
Copy link
Collaborator

@nealrichardson nealrichardson commented Nov 5, 2025

This PR uses https://github.com/posit-dev/with-connect to modernize the Posit Connect test suite and get running again. See a passing CI run here: https://github.com/rstudio/pins-python/actions/runs/19110527979/job/54606158812?pr=351#step:5:192

Other changes include:

  • Use CONNECT_SERVER and CONNECT_API_KEY env vars for those values by default, for consistency with other Connect API clients and the Connect documentation
  • Rebrands _HackyConnect to LoginConnectApi because all it does is allow you to log in with username and password instead of API key.
  • One test, test_board_pin_search_admin_user, is skipped: for some reason this didn't work with the new setup. However, I think it is really just testing how Connect does authorization, not how pins works, so I'm not sure it is necessary.

There's more cleanup I'd like to do here, but maybe I'll follow up with something else, just to keep this PR more focused.

Fix #341

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.

development/testing Connect docker container fails to start

2 participants