# Path: wirecurly/configuration/menu.py
# class Menu(object):
# 	def __init__(self,name):
# 	def addAttr(self,attr,val):
# 	def getAttr(self,attr):
# 	def addEntry(self,action,digits,param):
# 	def getEntry(self,digits):
# 	def addInclude(self,value):
# 	def todict(self):


import unittest
import pytest
from wirecurly.configuration import menu
'''
	Test menu creation
'''



class testMenuCreation(unittest.TestCase):
	'''
		Test menu creation
	'''

	def setUp(self):
		'''
			menu fixtures for tests
		'''

		self.menu = menu.Menu('on_hours')
		
	def test_menu_dict_ok(self):
		'''
			Test that menu is properly serialized 
		'''

# Path: wirecurly/configuration/menu.py
# class Menu(object):
# 	def __init__(self,name):
# 	def addAttr(self,attr,val):
# 	def getAttr(self,attr):
# 	def addEntry(self,action,digits,param):
# 	def getEntry(self,digits):
# 	def addInclude(self,value):
# 	def todict(self):


# Path: tests/test_configuration/test_menu.py
import unittest
import pytest
from wirecurly.configuration import menu

'''
	Test menu creation
'''



class testMenuCreation(unittest.TestCase):
	'''
		Test menu creation
	'''

	def setUp(self):
		'''
			menu fixtures for tests
		'''

		self.menu = menu.Menu('on_hours')
		
	def test_menu_dict_ok(self):
		'''
			Test that menu is properly serialized 
		'''

		assert isinstance(self.menu.todict(), dict)