summaryrefslogtreecommitdiff
path: root/lib/tevent/tests.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-20 21:21:19 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-20 21:21:19 +0100
commit5688f9b13e2e58b7ed945301390188c2b40c4d60 (patch)
tree118fd01a0a90ccd77a9b9130578123f830e99c8c /lib/tevent/tests.py
parent759a3bcc88230c5232b748bb8f5a0c6e0cce128c (diff)
parentec80992ef5b54c443e41ebb91e793384907e68ba (diff)
downloadsamba-5688f9b13e2e58b7ed945301390188c2b40c4d60.tar.gz
samba-5688f9b13e2e58b7ed945301390188c2b40c4d60.tar.bz2
samba-5688f9b13e2e58b7ed945301390188c2b40c4d60.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'lib/tevent/tests.py')
-rw-r--r--lib/tevent/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tevent/tests.py b/lib/tevent/tests.py
index 006426207e..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/>.
#
-from samba 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())