diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/compat.py | 2 | ||||
| -rw-r--r-- | tests/test_selenium.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/compat.py b/tests/compat.py index 3630429..a2f6a7b 100644 --- a/tests/compat.py +++ b/tests/compat.py @@ -3,7 +3,7 @@ import sys try: # py < 2.7 - import unnitest2 as unittest + import unittest2 as unittest except ImportError: import unittest diff --git a/tests/test_selenium.py b/tests/test_selenium.py index 26d87d4..aee7763 100644 --- a/tests/test_selenium.py +++ b/tests/test_selenium.py @@ -186,7 +186,7 @@ class TestJQueryUI(unittest.TestCase): draggable = resp.doc.draggable droppable = resp.doc.droppable self.assertFalse(droppable.hasClass('ui-state-highlight')) - draggable.dragAndDropToObject(droppable) + draggable.drag_and_drop(droppable) self.assertTrue(droppable.hasClass('ui-state-highlight')) resp.doc.link('Shopping Cart').click() |
