Closed Esther-Goldberg closed 7 months ago
This would close #205
Thanks for the PR! Can you add a test for this as well?
Sure! I'll add that once I get it done
Is a test for the error returned by nsjail enough, or should the function that creates files from paths also have a test?
That test is sufficient - it's what I also had in mind. However, the test is failing in CI.
safe_path is used for input, to parse a file path from the dict. This error is occurring when doing the reverse. This change throws an EvalError if any file created by the Python code isn't able to be encoded in UTF-8.