def testConstructor(): """NotificationTest: Test Constructor""" note = Notification('TestNote', 5, 'TestNoteType') eq_(note.get_name(), 'TestNote') eq_(note.get_body(), 5) eq_(note.get_type(), 'TestNoteType')
def testNameAccessors(): """NotificationTest: Test Name Accessors""" note = Notification('TestNote') eq_(note.get_name(), 'TestNote')