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

Replace / by _ in name to avoid issue when writing the cache file. #228

Merged
merged 1 commit into from Nov 11, 2022

Conversation

JarbasAl
Copy link
Member

Fix unit test result expectation.

Use md5 from hashlib instead of hash().

Use basename and hash of the full path to register entities.

Replace / by _ in name to avoid issue when writing the cache file.
@JarbasAl JarbasAl added bug Something isn't working mycroft-sync cherry pick from upstream labels Nov 11, 2022
@codecov
Copy link

codecov bot commented Nov 11, 2022

Codecov Report

Merging #228 (51299c0) into dev (6ceb058) will increase coverage by 2.11%.
The diff coverage is 36.73%.

@@            Coverage Diff             @@
##              dev     #228      +/-   ##
==========================================
+ Coverage   50.35%   52.46%   +2.11%     
==========================================
  Files         119      156      +37     
  Lines       10077     9160     -917     
==========================================
- Hits         5074     4806     -268     
+ Misses       5003     4354     -649     
Impacted Files Coverage Δ
mycroft/audio/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/arduino.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/eyes.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/mouth.py 0.00% <0.00%> (ø)
mycroft/client/speech/__main__.py 0.00% <0.00%> (ø)
mycroft/client/speech/hotword_factory.py 0.00% <0.00%> (-88.89%) ⬇️
mycroft/client/speech/service.py 0.00% <0.00%> (ø)
mycroft/client/speech/silence.py 0.00% <0.00%> (-42.86%) ⬇️
mycroft/client/text/__init__.py 0.00% <0.00%> (ø)
... and 149 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@JarbasAl JarbasAl merged commit ec87d31 into dev Nov 11, 2022
5 checks passed
@JarbasAl JarbasAl deleted the fix/entity_path_padatious branch November 11, 2022 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mycroft-sync cherry pick from upstream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants