aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/simpleTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r--test/simpleTests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py
index 4e6a51d59..0a14a4bdb 100644
--- a/test/simpleTests.py
+++ b/test/simpleTests.py
@@ -260,6 +260,13 @@ class TestSimple(unittest.TestCase):
self.assertEqual(self.ed.CanUndo(), 0)
self.ed.UndoCollection = 1
+ def testDragDrop(self):
+ self.assertEqual(self.ed.DragDropEnabled, 1)
+ self.ed.DragDropEnabled = 0
+ self.assertEqual(self.ed.DragDropEnabled, 0)
+ self.ed.DragDropEnabled = 1
+ self.assertEqual(self.ed.DragDropEnabled, 1)
+
def testGetColumn(self):
self.ed.AddText(1, b"x")
self.assertEqual(self.ed.GetColumn(0), 0)