diff options
| author | Pablo GarcĂa <poli@devartis.com> | 2019-09-26 14:55:25 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-09-27 08:09:05 +0200 |
| commit | 2fd610eb301dc01e100befed891e8007fd2e981f (patch) | |
| tree | 56ee45c842106d5efbf8f0843e3965a6e35e6f57 /tests/utils_tests/test_autoreload.py | |
| parent | c574bec0929cd2527268c96a492d25223a9fd576 (diff) | |
Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.
client_timeout is an instance attribute.
Diffstat (limited to 'tests/utils_tests/test_autoreload.py')
| -rw-r--r-- | tests/utils_tests/test_autoreload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils_tests/test_autoreload.py b/tests/utils_tests/test_autoreload.py index 2216d003ee..fe89f897c7 100644 --- a/tests/utils_tests/test_autoreload.py +++ b/tests/utils_tests/test_autoreload.py @@ -651,7 +651,7 @@ class WatchmanReloaderTests(ReloaderTests, IntegrationTests): @mock.patch.dict(os.environ, {'DJANGO_WATCHMAN_TIMEOUT': '10'}) def test_setting_timeout_from_environment_variable(self): - self.assertEqual(self.RELOADER_CLS.client_timeout, 10) + self.assertEqual(self.RELOADER_CLS().client_timeout, 10) @skipIf(on_macos_with_hfs(), "These tests do not work with HFS+ as a filesystem") |
