rind: Suppress filtering warnings during testing

These don't show up when running normally, but they can show up during
testing when gtk signals show up after their corresponding test ends.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2019-04-25 13:38:39 -04:00
parent b94cc5bd87
commit 2815724b5c
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class TestNodeTreeModel(unittest.TestCase):
def tearDownClass():
curds.stop()
node.Treeview.set_model(None)
def test_init(self):
self.assertIsInstance(gtk.Builder.get_object("node_treeview"), Gtk.TreeView)
@ -283,6 +284,7 @@ class TestNodeTreeModel(unittest.TestCase):
self.assertEqual(node.LibraryChooser.get_filename(), test_album1)
node.LibraryOk.clicked()
curds.playlist.library.join()
gtk.main_loop(iteration_delay=0.1)
self.assertEqual(plist_root.lookup("Libraries").n_children(), 1)
self.assertFalse(node.LibraryPopover.is_visible())