Exemplo n.º 1
0
 def test_show_out_payments_by_date(self):
     web_view = WebView()
     web_view.app = mock.Mock()
     web_view._show_out_payments_by_date('2013-1-1')
     web_view.app.window.run_application.assert_called_once_with(
         u'payable', refresh=False)