-
Notifications
You must be signed in to change notification settings - Fork 44
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
tests: tweaks to the way routes are tested #1303
Conversation
00a1706
to
c2d70b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧡
Nice improvement ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yay
This commit avoids the hardcoded URL and uses the addr that the echo server is using. This makes it easier to run the tests on a different port. Mostly auto-generated via `sed` (unfortunately some manual tweaking was needed because the coding style is not very consistent).
cb493e9
c2d70b4
to
cb493e9
Compare
Meh, sorry, had to force push to fix a conflict, diff is trivial https://github.com/osbuild/image-builder/compare/c2d70b4805738be87ce106ba38cedf68b2bc3a9c..cb493e970114a44e52feb6807a3132195219cade but this will need one more approval now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems green now, merging thanks.
tests: tweak tutil to take
addr
andpath
instead of urlThis commit avoids the hardcoded URL and uses the addr that the
echo server is using. This makes it easier to run the tests on
a different port.
Mostly auto-generated via
sed
(unfortunately some manual tweakingwas needed because the coding style is not very consistent).