| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
pytest will just import the files passed to it and try to run tests.
Since we need to run some setup code convert the tests directory to
a Python package and do the initialization in __init__.py. This makes
the init code (env vars, typelib search path, dbus) always run when
something from the package gets imported.
python3 setup.py build_tests # build pygobject and tests
py.test-3 tests/test_gi.py # run tests in test_gi.py only
|
|
|
|
|
|
|
|
|
|
| |
Take all the methods from an objects type classs and add them
as class methods. For instance, GObject.ObjectClass.list_properties
is available as GObject.Object.list_properties().
Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=685218
|
|
Automatically marshal Python GObject classes and instances to GTypeClass
structs (GObjectClass). This allows usage of the GTypeClass methods by
passing a Python GObject class or instance to the GTypeClass method.
This is needed to support usage of GTypeClass methods since we don't
manually bind GTypeClasses and they are not very well supported with
introspection.
https://bugzilla.gnome.org/show_bug.cgi?id=685218
|