-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
Voight Kampff Integration Test Failed (Results). |
Voight Kampff Integration Test Succeeded (Results) |
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 one!
I also verified that removing only the phoneme files works as expected.
Are there any improvements to the TestCache unit tests that we could be making?
One can always create more tests :) I'll try to add some |
A couple of tests has been added! |
Voight Kampff Integration Test Succeeded (Results) |
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 for tests!
Thanks for putting that together, I think we caught an edge case.
Add __contains__ method to TTSCache, The cache contains a SHA if the SHA is known and all expected files exists on disk. This is handles unexpected system events in a more consistent manner and will still be fast for the case where a new sentence needs to be synthetisized.
49485b6
to
4799caa
Compare
Thanks for noticing that mistake, Added the "gobo" check and corrected the logic snafu |
Voight Kampff Integration Test Succeeded (Results) |
Description
Add
__contains__
method to TTSCache, The cache contains a SHA if the SHA isknown and all expected files exists on disk.
This is handles unexpected system events in a more consistent manner and
will still be fast for the case where a new sentence needs to be
synthesized.
How to test
/tmp/mycroft/cache/Mimic2/
(or the TTS you're using)Contributor license agreement signed?
CLA [ yes ]