Skip to content

Improve a couple of test docstrings#362

Merged
rwb27 merged 1 commit into
mainfrom
check-things-endpoint
Jun 16, 2026
Merged

Improve a couple of test docstrings#362
rwb27 merged 1 commit into
mainfrom
check-things-endpoint

Conversation

@rwb27

@rwb27 rwb27 commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

I looked at the code testing /things/ and /thing_descriptions/ when investigating #358. I thought we were missing a test - it turns out the test is already here, I'd added it when I fixed the issue for v0.2.0 and I was just looking at a microscope with an old version of LabThings.

As I was in the code anyway, I have taken the opportunity to improve the docstrings, and to test both Things in the server rather than just one of them.

I thought we were missing a test - it turns out the test is already here.
As I'm in the code anyway, I have taken the opportunity to improve
the docstrings, and to test both Things in the server rather than just one of them.
@barecheck

barecheck Bot commented Jun 15, 2026

Copy link
Copy Markdown

Barecheck - Code coverage report

Total: 96.97%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@rwb27

rwb27 commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

The unpinned tests fail because of a new/updated ruff rule, which should be fixed separately. I don't think it needs to hold this up.

@rwb27 rwb27 merged commit e411802 into main Jun 16, 2026
12 of 16 checks passed
@rwb27 rwb27 deleted the check-things-endpoint branch June 16, 2026 10:49
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