def test_authenticationRefreshRoken_should_call_settings_correctly(self): settings = YouTubePluginSettings() settings.authenticationRefreshRoken() sys.modules["__main__"].settings.getSetting.assert_any_call( "oauth2_refresh_token")
def test_authenticationRefreshRoken_should_call_settings_correctly(self): settings = YouTubePluginSettings() settings.authenticationRefreshRoken() sys.modules[ "__main__" ].settings.getSetting.assert_any_call("oauth2_refresh_token")