

def test_empty_request_and_empty_datastore(self):
    request = webapp2.Request.blank('/datastore')
    response = webapp2.Response()
    handler = datastore_viewer.DatastoreRequestHandler(request, response)
    response.render('datastore_viewer.html', {
        'entities': [],
        'headers': [],
        'kind': None,
        'kinds': [],
        'message': None,
        'namespace': '',
        'num_pages': 0,
        'order': None,
        'paging_base_url': '/datastore?',
        'order_base_url': '/datastore?',
        'page': 1,
        'select_namespace_url': '/datastore?namespace=',
        'show_namespace': False,
        'start': 0,
        'total_entities': 0,
    })
    self.mox.ReplayAll()
    handler.get()
    self.mox.VerifyAll()

dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/devappserver2/admin/datastore_viewer_test.py DatastoreRequestHandlerGetTest.test_empty_request_and_empty_datastore/VarMisuse@40/51 `handler`->`response`