Skip to content

Test aura - #5239

Merged
snejus merged 3 commits into
masterfrom
test-aura
Jun 10, 2024
Merged

Test aura#5239
snejus merged 3 commits into
masterfrom
test-aura

Conversation

@snejus

@snejus snejus commented May 9, 2024

Copy link
Copy Markdown
Member

In #4746 I was making a small adjustment in beetsplug/aura.py and found that the module wasn't tested. So this PR adds some high-level tests to act a safeguard for any future adjustments.

snejus added 3 commits May 7, 2024 19:55
This will be help with testing each of the documents which do not
any more depend on the 'global' `current_app` and `request`. These two
can now be provided at the time the objects are instantiated.
@snejus snejus self-assigned this May 9, 2024
@snejus
snejus requested a review from wisp3rwind May 9, 2024 00:33
@github-actions

github-actions Bot commented May 9, 2024

Copy link
Copy Markdown

Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.

@snejus snejus mentioned this pull request May 9, 2024
@snejus

snejus commented Jun 5, 2024

Copy link
Copy Markdown
Member Author

@Serene-Arc could you have a glance at this one? It should be an easy one!

@Serene-Arc Serene-Arc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not the most familiar with aura as a part of beets but I looked through all the changes and nothing seems untoward. Nice deduplication of some of it, and it's great that we can use the dataclass attribute now! There's probably a couple other places that could use it.

You do have a change to setup.py which means that this is going to cause a conflict with #5266. I'll approve but won't merge; you can decide in what order to merge these two so that it doesn't cause problems.

@snejus

snejus commented Jun 10, 2024

Copy link
Copy Markdown
Member Author

Going to merge this one first. #5266 removes setup.py altogether and already has pytest-flask, so I'll rebase the PR to resolve the conflict :)

@snejus
snejus merged commit 0966e3c into master Jun 10, 2024
@snejus
snejus deleted the test-aura branch June 10, 2024 12:07
@snejus snejus added the aura aura plugin label Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aura aura plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants