insights-core
insights-core copied to clipboard
Avoid test to write in disk if machine-id is not found
Signed-off-by: ahitacat [email protected]
All Pull Requests:
Check all that apply:
- [ ] Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
- [ ] Is this PR to correct an issue?
- [ ] Is this PR an enhancement?
Complete Description of Additions/Changes:
Malware test was trying to create a machine-id
file if there isn't one in the system.
I have mocked the method that tries to create the machine-id as a solution.