def test_get_object_datetime(self):
    file1_content = 'content of the test file1'
    self.storage.storage_driver.upload_blob_from_string('test_download_blobs1/file1.txt', file1_content)
    obj = self.storage.storage_driver.get_blob('test_download_blobs1/file1.txt')
    self.assertEqual(datetime.datetime.fromtimestamp(int(obj.extra['modify_time'])), self.storage.storage_driver.get_object_datetime(obj))
def test_get_object_datetime(self):
    file1_content = 'content of the test file1'
    self.storage.storage_driver.upload_blob_from_string('test_download_blobs1/file1.txt', file1_content)
    obj = self.storage.storage_driver.get_blob('test_download_blobs1/file1.txt')
    self.assertEqual(datetime.datetime.fromtimestamp(int(obj.extra['modify_time'])), self.storage.storage_driver.get_object_datetime(obj))