@@ -0,0 +1,1067 @@
+#!/usr/bin/env python%0A%0A# Licensed under the Apache License, Version 2.0 (the %22License%22);%0A# you may not use this file except in compliance with the License.%0A# You may obtain a copy of the License at%0A#%0A#     http://www.apache.org/licenses/LICENSE-2.0%0A#%0A# Unless required by applicable law or agreed to in writing, software%0A# distributed under the License is distributed on an %22AS IS%22 BASIS,%0A# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A# See the License for the specific language governing permissions and%0A# limitations under the License.%0A%0Afrom test.unit.helper.test_helper import appium_command, android_w3c_driver%0A%0Aimport httpretty%0A%0A%0Aclass TestWebDriverDeviceLock(object):%0A%0A    @httpretty.activate%0A    def test_device_time(self):%0A        driver = android_w3c_driver()%0A        httpretty.register_uri(%0A            httpretty.GET,%0A            appium_command('/session/1234567890/appium/device/system_time'),%0A            body='%7B%22value%22: %222019-01-05T14:46:44+09:00%22%7D'%0A        )%0A        assert driver.device_time == '2019-01-05T14:46:44+09:00'%0A

Add devicetime unittest (#309)