#30810 closed Bug (fixed)
WatchmanReloaderTests.test_setting_timeout_from_environment_variable() fails with AttributeError.
Reported by: | Poli García | Owned by: | nobody |
---|---|---|---|
Component: | Utilities | Version: | 2.2 |
Severity: | Normal | Keywords: | utilities, autoreloader, watchman |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Running Django's test suite errors with:
====================================================================== ERROR: test_setting_timeout_from_environment_variable (utils_tests.test_autoreload.WatchmanReloaderTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 628, in run testMethod() File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/mock.py", line 1626, in _inner return f(*args, **kw) File "/Users/poli/work/django/django/tests/utils_tests/test_autoreload.py", line 654, in test_setting_timeout_from_environment_variable self.assertEqual(self.RELOADER_CLS.client_timeout, 10) AttributeError: type object 'WatchmanReloader' has no attribute 'client_timeout'
My environment:
- Mac OSX 10.14.16
- Python 3.7.4
- watchman 4.9.0
The WatchmanReloaderTests
are marked with skip_unless_watchman_available
, so you'll need watchman
to be able to reproduce this.
Change History (6)
comment:1 by , 5 years ago
Description: | modified (diff) |
---|---|
Summary: | WatchmanReloaderTests fail with AttributeError: type object 'WatchmanReloader' has no attribute 'client_timeout' → WatchmanReloaderTests error with AttributeError: type object 'WatchmanReloader' has no attribute 'client_timeout' |
comment:2 by , 5 years ago
Type: | Uncategorized → Bug |
---|
comment:3 by , 5 years ago
Has patch: | set |
---|---|
Summary: | WatchmanReloaderTests error with AttributeError: type object 'WatchmanReloader' has no attribute 'client_timeout' → WatchmanReloaderTests.test_setting_timeout_from_environment_variable() fails with AttributeError. |
Triage Stage: | Unreviewed → Accepted |
Version: | master → 2.2 |
Note:
See TracTickets
for help on using tickets.
PR