summaryrefslogtreecommitdiff
path: root/lib/tevent/tests.py
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-02 16:27:11 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-02 18:16:54 +0100
commit2176295b02cb39945d5335d93f0c5dfe054c9b9a (patch)
tree976b0056b08f2cc1fa1f58a7f5e0a384f7363f40 /lib/tevent/tests.py
parent784b2dc8d02c4e5c1ae31314f08874fa57416c40 (diff)
downloadsamba-2176295b02cb39945d5335d93f0c5dfe054c9b9a.tar.gz
samba-2176295b02cb39945d5335d93f0c5dfe054c9b9a.tar.bz2
samba-2176295b02cb39945d5335d93f0c5dfe054c9b9a.zip
tevent: change pytevent to tevent_*
metze
Diffstat (limited to 'lib/tevent/tests.py')
-rw-r--r--lib/tevent/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tevent/tests.py b/lib/tevent/tests.py
index 0ec736b359..bf594a14f6 100644
--- a/lib/tevent/tests.py
+++ b/lib/tevent/tests.py
@@ -17,15 +17,15 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-import tevent as events
+import tevent
import unittest
# Just test the bindings are there and that calling them doesn't crash
# anything.
-class EventTestCase(unittest.TestCase):
+class TEventTestCase(unittest.TestCase):
def test_create(self):
- self.assertTrue(events.EventContext() is not None)
+ self.assertTrue(tevent.TEventContext() is not None)
def test_loop_wait(self):
- self.assertEquals(0, events.EventContext().loop_wait())
+ self.assertEquals(0, tevent.TEventContext().loop_wait())