Skip to content
Commit f153a46f authored by Luca Fancellu's avatar Luca Fancellu
Browse files

cam-tool/test: Use tmpfs when writing to the file system



The test test_deploy_message_a2s is currently opening a file
inside the repository in append mode, this will trigger an error
on read-only file systems and it's wrong because even if the code
doesn't write anything, it should be prevented to write in the
same repository of the test.

To overcome this issue, use the tmp_path_factory mechanism of
Pytest to copy the file under tmpfs and do the operation safely
from there.

Add missing word to the dictionary to please the spell checker.

Signed-off-by: Luca Fancellu's avatarLuca Fancellu <luca.fancellu@arm.com>
parent 757146a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment