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: fix broken tests due to invalid fixture names #615

Merged
merged 3 commits into from
Feb 29, 2024
Merged

Conversation

tymees
Copy link
Member

@tymees tymees commented Feb 28, 2024

My bad; should've caught this when I made this change.

Edit:
I also cleaned up the test-runner output with the other two commits:

The first removes the 'font-weight' spam. Turns out our PDF generator has a pretty strange CSS parser that does not allow font-weight: 400 (as 400 is the default) in the font definition. Any other CSS parser thinks this is fine, if redundant, but well...

The 'Not saving PDF' warning spam is disabled by disabling all log levels below WARNING (inclusive) for the proposal-submit tests only.

Turns out our PDF generator has a pretty strange CSS parser that does not allow `font-weight: 400` (as 400 is the default).
@tymees tymees requested review from miggol and EdoStorm96 February 28, 2024 17:29
Copy link
Contributor

@EdoStorm96 EdoStorm96 left a comment

Choose a reason for hiding this comment

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

Wow, fixing the tests output is super blessed. Nice one!

I approve of the bugfix, however I'd prefer renaming the fixtures to observation_registrations, task_registrations and task_registrationkinds or something.

@tymees
Copy link
Member Author

tymees commented Feb 29, 2024

That would also involve debugging the load-order again (as it's dependent on filenames for the load command, not tests).

That's a bit more work than just some simple renames. Would you be fine with a separate issue for that?

@EdoStorm96
Copy link
Contributor

Ahh, ok. Yeah, it's not such a big deal. I'd be fine with that :)

@tymees tymees merged commit a8dbed0 into develop Feb 29, 2024
4 checks passed
@tymees tymees deleted the fix/tests branch February 29, 2024 15:41
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