@@ -1640,15 +1640,15 @@ def test_appconf_provider_get_configuration_json_content_type(mock_name, config)
1640
1640
mock_value = StreamingBody (BytesIO (encoded_message ), len (encoded_message ))
1641
1641
1642
1642
stubber = stub .Stubber (provider .client )
1643
- response_start = {"InitialConfigurationToken" : "initial_token" }
1644
- stubber .add_response ("start_configuration_session" , response_start )
1643
+ response_start_config_session = {"InitialConfigurationToken" : "initial_token" }
1644
+ stubber .add_response ("start_configuration_session" , response_start_config_session )
1645
1645
1646
- response_latest = {
1646
+ response_get_latest_config = {
1647
1647
"Configuration" : mock_value ,
1648
1648
"NextPollConfigurationToken" : "initial_token" ,
1649
1649
"ContentType" : "application/json" ,
1650
1650
}
1651
- stubber .add_response ("get_latest_configuration" , response_latest )
1651
+ stubber .add_response ("get_latest_configuration" , response_get_latest_config )
1652
1652
stubber .activate ()
1653
1653
1654
1654
try :
@@ -1679,15 +1679,15 @@ def test_appconf_provider_get_configuration_json_content_type_with_custom_client
1679
1679
mock_value = StreamingBody (BytesIO (encoded_message ), len (encoded_message ))
1680
1680
1681
1681
stubber = stub .Stubber (provider .client )
1682
- response_start = {"InitialConfigurationToken" : "initial_token" }
1683
- stubber .add_response ("start_configuration_session" , response_start )
1682
+ response_start_config_session = {"InitialConfigurationToken" : "initial_token" }
1683
+ stubber .add_response ("start_configuration_session" , response_start_config_session )
1684
1684
1685
- response_latest = {
1685
+ response_get_latest_config = {
1686
1686
"Configuration" : mock_value ,
1687
1687
"NextPollConfigurationToken" : "initial_token" ,
1688
1688
"ContentType" : "application/json" ,
1689
1689
}
1690
- stubber .add_response ("get_latest_configuration" , response_latest )
1690
+ stubber .add_response ("get_latest_configuration" , response_get_latest_config )
1691
1691
stubber .activate ()
1692
1692
1693
1693
try :
@@ -1716,15 +1716,15 @@ def test_appconf_provider_get_configuration_no_transform(mock_name, config):
1716
1716
mock_value = StreamingBody (BytesIO (encoded_message ), len (encoded_message ))
1717
1717
1718
1718
stubber = stub .Stubber (provider .client )
1719
- response_start = {"InitialConfigurationToken" : "initial_token" }
1720
- stubber .add_response ("start_configuration_session" , response_start )
1719
+ response_start_config_session = {"InitialConfigurationToken" : "initial_token" }
1720
+ stubber .add_response ("start_configuration_session" , response_start_config_session )
1721
1721
1722
- response_latest = {
1722
+ response_get_latest_config = {
1723
1723
"Configuration" : mock_value ,
1724
1724
"NextPollConfigurationToken" : "initial_token" ,
1725
1725
"ContentType" : "application/json" ,
1726
1726
}
1727
- stubber .add_response ("get_latest_configuration" , response_latest )
1727
+ stubber .add_response ("get_latest_configuration" , response_get_latest_config )
1728
1728
stubber .activate ()
1729
1729
1730
1730
try :
0 commit comments