[autotest] Simplify access to readonly_connection
After refactoring the way readonly_connection works in
CL:223393 some uses of it can be shortened.
BUG=None
DEPLOY=apache,scheduler,host_scheduler,shard_client
TEST=Ran suites, syncdb, apache restart and dummy suite.
Change-Id: I461345ecb362bd54740417f0016a64072581a513
Reviewed-on: https://chromium-review.googlesource.com/223394
Tested-by: Jakob Jülich <jakobjuelich@chromium.org>
Reviewed-by: Prashanth B <beeps@chromium.org>
Commit-Queue: Jakob Jülich <jakobjuelich@chromium.org>
diff --git a/frontend/frontend_unittest.py b/frontend/frontend_unittest.py
index c8b4cf1..4d1d902 100755
--- a/frontend/frontend_unittest.py
+++ b/frontend/frontend_unittest.py
@@ -4,7 +4,7 @@
import common
from autotest_lib.frontend import setup_django_environment
from autotest_lib.frontend import setup_test_environment
-from autotest_lib.frontend.afe import test, readonly_connection
+from autotest_lib.frontend.afe import test
from autotest_lib.client.common_lib import global_config
_APP_DIR = os.path.join(os.path.dirname(__file__), 'afe')