Skip to content
Snippets Groups Projects
Commit 64a316ed authored by Ramin Yaghoubzadeh's avatar Ramin Yaghoubzadeh
Browse files

put ipaaca in ipaaca/__init__ and added ipaaca/util

notifier.py is now in ipaaca.util
parent 75eb99ed
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
This file intentionally left blank (for now)
@author: ryaghoub
'''
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on Dec 20, 2012
......@@ -68,8 +70,5 @@ class ComponentNotifier(object):
self.inBuffer.register_handler(self._handle_iu_event, [IUEventType.MESSAGE], ComponentNotifier.NOTIFY_CATEGORY)
self._submit_notify(True)
self.initialized = True
\ No newline at end of file
......@@ -9,12 +9,12 @@ from mockito import verify
from mockito import any
from mockito import when
from mockito import times
from notifier import ComponentNotifier
from hamcrest.core.base_matcher import BaseMatcher
from ipaaca import IUEventType
from ipaaca import Message
from ipaaca import InputBuffer
from ipaaca import OutputBuffer
from ipaaca.util.notifier import ComponentNotifier
import time
import os
......@@ -120,4 +120,5 @@ class ComponentNotifierIntegrationTest(unittest.TestCase):
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testName']
unittest.main()
os._exit(0)
\ No newline at end of file
os._exit(0)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment