Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Update permission expectations

Adrián Chaves4c0afb606c59
diff --git a/tests/test_commands.py b/tests/test_commands.py
index be88e3511..55088c605 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -297,7 +297,7 @@ class StartprojectTemplatesTest(ProjectTest):
path.mkdir(mode=permissions)
else:
path.touch(mode=permissions)
- expected_permissions[node] = path.stat().st_mode
+ expected_permissions[node] = oct(path.stat().st_mode)
process = subprocess.Popen(
(