summaryrefslogtreecommitdiff
path: root/tests/modules/pythonplugin.py
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-06-08 20:51:01 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-06-08 21:09:14 -0300
commit779d9d8c85dab2929de0a43867139d60f89e2f52 (patch)
treeb8184e4a476e08bbe905610767a93d20f1f7f0e1 /tests/modules/pythonplugin.py
parentc687c0c05aac47794ced949f8647fecd0625e006 (diff)
downloadglade-779d9d8c85dab2929de0a43867139d60f89e2f52.tar.gz
Tests: add python and javascript test case
Add test case to make sure both python and js plugins work
Diffstat (limited to 'tests/modules/pythonplugin.py')
-rw-r--r--tests/modules/pythonplugin.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/modules/pythonplugin.py b/tests/modules/pythonplugin.py
new file mode 100644
index 00000000..cb5b6a9d
--- /dev/null
+++ b/tests/modules/pythonplugin.py
@@ -0,0 +1,7 @@
+from gi.repository import Gtk
+
+class MyPythonBox(Gtk.Box):
+ __gtype_name__ = 'MyPythonBox'
+
+ def __init__ (self):
+ Gtk.Box.__init__ (self)