Skip to content

chore: cleanup tests#12

Merged
pitercl merged 5 commits intomainfrom
pl/cleanup-tests
Aug 22, 2025
Merged

chore: cleanup tests#12
pitercl merged 5 commits intomainfrom
pl/cleanup-tests

Conversation

@pitercl
Copy link
Member

@pitercl pitercl commented Aug 21, 2025

No description provided.

"define it in the module using `NEPTUNE_PROJECT = 'your_project_name'`."
)
raise RuntimeError("NEPTUNE_E2E_PROJECT environment variable is not set")
return Project(project_identifier=project_identifier)
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be not worth it, but I believe of the Project class, we only ever use the "project_identifier" across the tests, so maybe just return string (and return the fixture)

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure. Type safety (such as it is) is rarely a bad thing. If we wanted to add something else there, refactoring back to what we have now will be a pain (I tried changing this with copilot just now - not pleasant).

Copy link
Contributor

@gabrys gabrys left a comment

Choose a reason for hiding this comment

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

Mostly looks good, will take a closer look tomorrow

@pitercl pitercl added this pull request to the merge queue Aug 22, 2025
Merged via the queue into main with commit 0f974ce Aug 22, 2025
22 of 25 checks passed
@pitercl pitercl deleted the pl/cleanup-tests branch August 26, 2025 09:44
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