-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: clean up cached preprocessed audio after unittests #386
Conversation
b986723
to
485f6b4
Compare
7b7d4e2
to
9bf125e
Compare
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #386 +/- ##
=======================================
Coverage 73.15% 73.15%
=======================================
Files 43 43
Lines 2786 2786
Branches 459 459
=======================================
Hits 2038 2038
Misses 664 664
Partials 84 84 ☔ View full report in Codecov by Sentry. |
27aa800
to
6416c6e
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.
Super nice.
I just have some questions, see below.
everyvoice/tests/test_dataloader.py
Outdated
"""Basic test for dataloaders""" | ||
|
||
lj_preprocessed = PreprocessingTest.lj_preprocessed | ||
|
||
# FIXME: Shouldn't this be done only one for this class and not for every test? |
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.
Depends... do any of the tests modify self.config
?
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.
Actually, may be we should play it safe and keep creating a new self.config
in setUp()
as it surely isn't expansive to do and it would prevent future headaches in the advent that a new test case does change self.config
.
9795592
to
26365ba
Compare
6416c6e
to
427bc8b
Compare
427bc8b
to
df4f5f6
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.
lgtm
No description provided.