def test_filter_status(self, stdout, stderr):
     filter_status(State(), {'id': '1', 'task': 'add'}, Mock())
     self.assertTrue(stdout.getvalue())
Exemplo n.º 2
0
 def test_filter_status(self):
     with override_stdouts() as (stdout, stderr):
         filter_status(State(), {'id': '1', 'task': 'add'}, Mock())
         self.assertTrue(stdout.getvalue())
Exemplo n.º 3
0
def test_filter_status():
    with mock.stdouts() as (stdout, stderr):
        filter_status(State(), {'id': '1', 'task': 'add'}, Mock())
        assert stdout.getvalue()
Exemplo n.º 4
0
def test_filter_status():
    with mock.stdouts() as (stdout, stderr):
        filter_status(State(), {"id": "1", "task": "add"}, Mock())
        assert stdout.getvalue()
Exemplo n.º 5
0
def test_filter_status():
    with mock.stdouts() as (stdout, stderr):
        filter_status(State(), {'id': '1', 'task': 'add'}, Mock())
        assert stdout.getvalue()