def test_run(self, gpv): """Test running.""" alert = ZenityAlerts() alert.run("foo", "bar") self.assertEqual(1, gpv.call_count)