Index: frontend/afe/resources_test.py |
diff --git a/frontend/afe/resources_test.py b/frontend/afe/resources_test.py |
index 9120335cf18ef5c3bee5d60d164276dabdf3c5b9..bb3808ae08d438fff45af8cd191792b9a8989fee 100755 |
--- a/frontend/afe/resources_test.py |
+++ b/frontend/afe/resources_test.py |
@@ -2,6 +2,14 @@ |
import common |
import unittest |
+ |
+# This has to be done very early. |
+from autotest_lib.client.common_lib import global_config |
+global_config.global_config.override_config_value( |
+ 'HOSTS', 'default_protection', |
+ 'NO_PROTECTION') |
+from autotest_lib.client.common_lib import host_protections |
+ |
from autotest_lib.frontend import setup_django_environment |
from autotest_lib.frontend import setup_test_environment |
from django.test import client |