| 
									
										
										
										
											2024-08-05 21:49:18 -05:00
										 |  |  | # -*- coding: utf-8; -*- | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-08-12 21:17:08 -05:00
										 |  |  | from wuttaweb.menus import MenuHandler | 
					
						
							| 
									
										
										
										
											2024-08-05 21:49:18 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-08-12 21:17:08 -05:00
										 |  |  | class NullMenuHandler(MenuHandler): | 
					
						
							|  |  |  |     """
 | 
					
						
							| 
									
										
										
										
											2025-10-29 18:32:35 -05:00
										 |  |  |     Dummy :term:`menu handler` for testing. | 
					
						
							| 
									
										
										
										
											2024-08-12 21:17:08 -05:00
										 |  |  |     """
 | 
					
						
							| 
									
										
										
										
											2025-08-31 12:26:43 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-08-12 21:17:08 -05:00
										 |  |  |     def make_menus(self, request, **kwargs): | 
					
						
							| 
									
										
										
										
											2025-10-29 18:32:35 -05:00
										 |  |  |         """
 | 
					
						
							|  |  |  |         This always returns an empty menu set. | 
					
						
							|  |  |  |         """
 | 
					
						
							| 
									
										
										
										
											2024-08-12 21:17:08 -05:00
										 |  |  |         return [] |