def test_list_staticsite_function_app_settings_without_resourcegroup(self): self.staticapp_client.list.return_value = [self.app1, self.app2] list_staticsite_function_app_settings(self.mock_cmd, self.name1) self.staticapp_client.list_static_site_function_app_settings.assert_called_once_with( self.rg1, self.name1)
def test_list_staticsite_function_app_settings_with_resourcegroup(self): list_staticsite_function_app_settings(self.mock_cmd, self.name1, self.rg1) self.staticapp_client.list_static_site_function_app_settings.assert_called_once_with( self.rg1, self.name1)