Skip to content

Conversation

@Enovotny
Copy link
Collaborator

No description provided.

@Enovotny Enovotny requested a review from krowvin October 17, 2025 15:51
@Enovotny Enovotny linked an issue Oct 17, 2025 that may be closed by this pull request
@Enovotny Enovotny changed the title add test for xcel files add test for excel files Oct 17, 2025
Eric Novotny and others added 13 commits October 17, 2025 08:55
Added a step to capture logs from the auth service.
Downgrade Keycloak image version from 25.0.1 to 19.0.1 and set log level to DEBUG.
Updated healthcheck port for Keycloak service.
Updated CI workflow to improve Docker image caching and testing steps.
Modify log capture command to include timestamps and limit output.
Removed log capture step for auth service on failure.
Copy link
Collaborator

@krowvin krowvin left a comment

Choose a reason for hiding this comment

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

Looks good, just question for my own understanding

import pytest

import cwms
import cwms.catalog.blobs as blobs
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we import these directly or would it be better to keep it as cwms?

I was thinking when I did this that having import cwms keeps it closer to what an enduser might use.

If we prefer to enforce a direct import from the module, then we might consider removing the imports from the root module?
i.e.

from cwms.catalog.blobs import *

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I see what you are saying about examples. but for tests it makes sense just to load what is being tested. when users use the package that should still use import cwms. but can also run it like above as well.

@sonarqubecloud
Copy link

@Enovotny Enovotny merged commit e5a7777 into main Oct 21, 2025
9 checks 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.

Blob endpoint fails to store Excel/Fails to determine encoding

3 participants