Skip to content

docs: replace requests by urllib in K8s tutorial integration tests - #2687

Open
dwilding wants to merge 2 commits into
canonical:mainfrom
dwilding:adjust-k8s-tutorial
Open

docs: replace requests by urllib in K8s tutorial integration tests#2687
dwilding wants to merge 2 commits into
canonical:mainfrom
dwilding:adjust-k8s-tutorial

Conversation

@dwilding

@dwilding dwilding commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

As discussed internally yesterday, the integration tests in Observe your charm with COS Lite use requests.get to talk to Loki. That's an unnecessary dependency. In the charm code itself, we use urllib.request.urlopen to talk to the workload. This PR updates the integration tests to use a similar approach.

Preview doc

@dwilding
dwilding requested review from hpidcock and tromai August 11, 2026 23:49

@tromai tromai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks great. Thank you for the PR.

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