terminator/tests
Vishweshwar Saran Singh Deo d08cee42ee [bug 559] Add menu autocomplete
Follwing errors were being thrown:

FAILED tests/test_prefseditor_keybindings.py::test_keybinding_successfully_reassigned_after_clearing[accel_params0] - AttributeError: 'TreeModelFilter' object has no attribute 'set'

It seems earlier the Gtk.ListStore()  was directly being passed in the test cases. After the changes to the Preferences to add a search filter bar we had added a filter Gtk.TreeModelFilter and for the widget we were setting it:
        widget.set_model(self.treemodelfilter)

Now it seemed that instead of Gtk.ListStore() the object Gtk.TreeModelFilter was being received and since it did not have a "set" function the above error was thrown.

I have made changes so that the Gtk.ListStore() is taken from Gtk.TreeModelFilter via get_model function and this indirection is removed.
2022-11-01 18:24:15 +05:30
..
test_borg.py tests: Update suite for pytest 2020-05-09 10:24:20 +02:00
test_prefseditor_keybindings.py [bug 559] Add menu autocomplete 2022-11-01 18:24:15 +05:30
test_signalman.py Fix Python 2.7 compat 2020-05-09 10:24:20 +02:00