autotest: Change "displayName" to "name" in device registration tests

To match the current state of GCD spec.

BUG=brillo:778
TEST=`test_that -b link --fast 100.96.48.244 e:buffet_.*`
CQ-DEPEND=CL:264577

Change-Id: Ib93267bf3554d07fc26e23cd7f081c1bf105ff38
Reviewed-on: https://chromium-review.googlesource.com/264751
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Vitaly Buka <vitalybuka@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/client/common_lib/cros/tendo/buffet_tester.py b/client/common_lib/cros/tendo/buffet_tester.py
index 5c410d5..6d95de1 100644
--- a/client/common_lib/cros/tendo/buffet_tester.py
+++ b/client/common_lib/cros/tendo/buffet_tester.py
@@ -28,7 +28,7 @@
 from autotest_lib.client.common_lib.cros.tendo import buffet_config
 
 
-TEST_DISPLAY_NAME = 'test_display_name '
+TEST_NAME = 'test_name '
 TEST_DESCRIPTION = 'test_description '
 TEST_LOCATION = 'test_location '
 
@@ -42,7 +42,7 @@
         TEST_COMMAND_NAME: {
             'parameters': { TEST_COMMAND_PARAM: { 'type': 'string' } },
             'results': {},
-            'displayName': 'Test Echo Command',
+            'name': 'Test Echo Command',
         }
     }
 }
@@ -226,7 +226,7 @@
         registration_params = dbus.Dictionary(signature='sv')
         registration_params.update({
                 'ticket_id': ticket['id'],
-                'display_name': TEST_DISPLAY_NAME,
+                'name': TEST_NAME,
                 'description': TEST_DESCRIPTION,
                 'location': TEST_LOCATION,
         })
@@ -235,7 +235,7 @@
         # Confirm that registration has populated some fields.
         device_resource = self._device_client.get_device(device_id)
         logging.debug('Got device resource=%r', device_resource)
-        _assert_has(device_resource, 'displayName', TEST_DISPLAY_NAME,
+        _assert_has(device_resource, 'name', TEST_NAME,
                     'device resource')
         _assert_has(device_resource, 'modelManifestId', 'TST',
                     'device resource')