Skip to content

Commit

Permalink
Regenerated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
annatisch committed May 17, 2016
1 parent 05f68a6 commit 88438df
Show file tree
Hide file tree
Showing 55 changed files with 143 additions and 139 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __init__(
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer()
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.duration = DurationOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __init__(
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer()
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.parameter_grouping = ParameterGroupingOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer()
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer()
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)


Expand Down Expand Up @@ -329,7 +329,7 @@ def put_resource_collection(

# Construct body
if resource_complex_object is not None:
body_content = self._serialize.body(resource_complex_object, models.ResourceCollection)
body_content = self._serialize.body(resource_complex_object, 'ResourceCollection')
else:
body_content = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __init__(
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer()
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.xms_client_request_id = XMsClientRequestIdOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer()
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.paths = PathsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {}
self._serialize = Serializer()
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.http_success = HttpSuccessOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {}
self._serialize = Serializer()
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.head_exception = HeadExceptionOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __init__(
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer()
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.lr_os = LROsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def put_async_retry_succeeded(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -168,7 +168,7 @@ def put201_creating_succeeded200(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -256,7 +256,7 @@ def post202_retry200(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -339,7 +339,7 @@ def post_async_retry_succeeded(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def put200_succeeded(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -156,7 +156,7 @@ def put200_succeeded_no_state(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -241,7 +241,7 @@ def put202_retry200(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -327,7 +327,7 @@ def put201_creating_succeeded200(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -415,7 +415,7 @@ def put200_updating_succeeded204(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -501,7 +501,7 @@ def put201_creating_failed200(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -589,7 +589,7 @@ def put200_acceptedcanceled200(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -674,7 +674,7 @@ def put_no_header_in_retry(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -765,7 +765,7 @@ def put_async_retry_succeeded(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -858,7 +858,7 @@ def put_async_no_retry_succeeded(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -950,7 +950,7 @@ def put_async_retry_failed(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -1043,7 +1043,7 @@ def put_async_no_retrycanceled(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -1134,7 +1134,7 @@ def put_async_no_header_in_retry(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -1221,7 +1221,7 @@ def put_non_resource(

# Construct body
if sku is not None:
body_content = self._serialize.body(sku, models.Sku)
body_content = self._serialize.body(sku, 'Sku')
else:
body_content = None

Expand Down Expand Up @@ -1303,7 +1303,7 @@ def put_async_non_resource(

# Construct body
if sku is not None:
body_content = self._serialize.body(sku, models.Sku)
body_content = self._serialize.body(sku, 'Sku')
else:
body_content = None

Expand Down Expand Up @@ -1386,7 +1386,7 @@ def put_sub_resource(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.SubProduct)
body_content = self._serialize.body(product, 'SubProduct')
else:
body_content = None

Expand Down Expand Up @@ -1469,7 +1469,7 @@ def put_async_sub_resource(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.SubProduct)
body_content = self._serialize.body(product, 'SubProduct')
else:
body_content = None

Expand Down Expand Up @@ -2549,7 +2549,7 @@ def post202_retry200(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -2631,7 +2631,7 @@ def post202_no_retry204(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -2723,7 +2723,7 @@ def post_async_retry_succeeded(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -2816,7 +2816,7 @@ def post_async_no_retry_succeeded(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -2908,7 +2908,7 @@ def post_async_retry_failed(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -2991,7 +2991,7 @@ def post_async_retrycanceled(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def put201_creating_succeeded200(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -161,7 +161,7 @@ def put_async_relative_retry_succeeded(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -483,7 +483,7 @@ def post202_retry200(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down Expand Up @@ -565,7 +565,7 @@ def post_async_relative_retry_succeeded(

# Construct body
if product is not None:
body_content = self._serialize.body(product, models.Product)
body_content = self._serialize.body(product, 'Product')
else:
body_content = None

Expand Down
Loading

0 comments on commit 88438df

Please sign in to comment.