Skip to content

Conversation

pyth0n1c
Copy link
Contributor

testing with contentctl test mode:changes ... would fail due to the presence of the new RuntimeCSV type.
The code was checking for the filename of a RuntimeCSV Lookup, however this does not exist and is set to None, since it exists only at runtime.

Now, we just exclude instances of RuntimeCSV from the mode:changes checking to see what needs to be tested.

mode:changes, we tried to get
the filename of a runtimeCSV.
runtimeCSV does not have a filename,
this raises an exception. which caused
mode:changes testing to fail.
As a solution, we just except this
type from testing during changes since
no content is supposed to use
it directly anyway.
@patel-bhavin
Copy link
Contributor

image

creates the plan correctly!

contentctl test --plan-only mode:changes --mode.target-branch develop

@pyth0n1c pyth0n1c merged commit 8411908 into main Apr 18, 2025
16 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.

2 participants