2009-08-20 22:57:24 +00:00
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
Contributors can be viewed at:
|
|
|
|
|
http://svn.secondlife.com/svn/linden/projects/2008/pyogp/lib/base/trunk/CONTRIBUTORS.txt
|
|
|
|
|
|
|
|
|
|
$LicenseInfo:firstyear=2008&license=apachev2$
|
|
|
|
|
|
|
|
|
|
Copyright 2009, Linden Research, Inc.
|
|
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0.
|
|
|
|
|
You may obtain a copy of the License at:
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
or in
|
|
|
|
|
http://svn.secondlife.com/svn/linden/projects/2008/pyogp/lib/base/LICENSE.txt
|
|
|
|
|
|
|
|
|
|
$/LicenseInfo$
|
|
|
|
|
"""
|
|
|
|
|
|
2009-03-03 01:40:52 +00:00
|
|
|
# standard python libs
|
|
|
|
|
import unittest
|
|
|
|
|
|
|
|
|
|
# pyogp
|
2009-09-04 05:00:00 +00:00
|
|
|
from pyogp.lib.base.events import Event
|
2009-03-03 01:40:52 +00:00
|
|
|
|
|
|
|
|
# pyogp tests
|
|
|
|
|
import pyogp.lib.base.tests.config
|
|
|
|
|
|
|
|
|
|
class TestEvents(unittest.TestCase):
|
|
|
|
|
|
|
|
|
|
def setUp(self):
|
|
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
def tearDown(self):
|
|
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
def test_event(self):
|
|
|
|
|
|
|
|
|
|
event = Event()
|
|
|
|
|
|
|
|
|
|
def test_suite():
|
|
|
|
|
from unittest import TestSuite, makeSuite
|
|
|
|
|
suite = TestSuite()
|
|
|
|
|
suite.addTest(makeSuite(TestEvents))
|
2009-04-27 22:48:01 +00:00
|
|
|
return suite
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|