Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix problem with sdk_tests collection using hardcoded paths #18

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

mikaelhm
Copy link
Contributor

@mikaelhm mikaelhm commented Nov 7, 2023

Since #10 and #14 was merged, we introduced a problem where the SDK tests only worked when running the backend in developer mode.

Specially, the problem stems from the fact that we used /app/backed hardcoded paths:
https://github.com/project-chip/certification-tool-backend/pull/10/files#diff-aea3c8e66d486bcaf287e7c19fa77772d3f40ac9733ee99c465657afda4104d5L41

And that only works in dev mode.

This PR changes this back to using relative paths.

@mikaelhm mikaelhm changed the title Fix prblem with sdk_tests collection using hardcoded paths Fix problem with sdk_tests collection using hardcoded paths Nov 7, 2023
@gvargas-csa
Copy link

Screenshot 2023-11-07 at 7 16 50 p m

After updating to the new changes I ran into the problem that the test cases do not appear in production mode so I moved to this branch to verify it and it works correctly.

Screenshot 2023-11-07 at 8 14 15 p m

What I did to test it was add the fork branch to the current backend (upstream) project and test the changes from the fork (mikaelhm:fix/hardcoded-paths).

Screenshot 2023-11-07 at 8 00 02 p m

@mikaelhm mikaelhm merged commit 7d2ac9e into project-chip:main Nov 8, 2023
1 check passed
@mikaelhm mikaelhm deleted the fix/hardcoded-paths branch November 8, 2023 04:39
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.

4 participants