mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-09-01 21:58:06 +03:00
Make tmpdir non-writable for the read-only test
* On win32 this uses pywin32 package modules, so that's now in requirements-dev.txt. * I *think* that code is as clean as it's going to be. Windows is a pain with having you *append* a Deny ACL (rather than remove an Allow one), and then you have to find it in all the ACLs for the object in order to remove it by index. * Linux version of this using `os.chmod()` currently untested.
This commit is contained in:
@@ -33,6 +33,8 @@ py2exe==0.10.3.0; sys_platform == 'win32'
|
||||
pytest==6.2.2
|
||||
pytest-cov==2.11.1 # Pytest code coverage support
|
||||
coverage[toml]==5.5 # pytest-cov dep. This is here to ensure that it includes TOML support for pyproject.toml configs
|
||||
# For manipulating folder permissions and the like.
|
||||
pywin32==300; sys_platform == 'win32'
|
||||
|
||||
|
||||
# All of the normal requirements
|
||||
|
Reference in New Issue
Block a user