diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-20 21:19:48 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-20 21:19:48 +0100 |
commit | ec80992ef5b54c443e41ebb91e793384907e68ba (patch) | |
tree | d453b7df628a89e236cebf9426d5c80e674c8e6a /lib/tevent/tests.py | |
parent | 9b16a5ac163025c49b40b7f32f6145da46cd75b8 (diff) | |
download | samba-ec80992ef5b54c443e41ebb91e793384907e68ba.tar.gz samba-ec80992ef5b54c443e41ebb91e793384907e68ba.tar.bz2 samba-ec80992ef5b54c443e41ebb91e793384907e68ba.zip |
Fix tevent python module build as part of samba 4.
Diffstat (limited to 'lib/tevent/tests.py')
-rw-r--r-- | lib/tevent/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tevent/tests.py b/lib/tevent/tests.py index b14f7e6250..0ec736b359 100644 --- a/lib/tevent/tests.py +++ b/lib/tevent/tests.py @@ -17,7 +17,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -import events +import tevent as events import unittest # Just test the bindings are there and that calling them doesn't crash @@ -25,7 +25,7 @@ import unittest class EventTestCase(unittest.TestCase): def test_create(self): - self.assertTrue(events.event() is not None) + self.assertTrue(events.EventContext() is not None) def test_loop_wait(self): - self.assertEquals(0, events.event().loop_wait()) + self.assertEquals(0, events.EventContext().loop_wait()) |