def test_filter_status(self, stdout, stderr): filter_status(State(), {'id': '1', 'task': 'add'}, Mock()) self.assertTrue(stdout.getvalue())
def test_filter_status(self): with override_stdouts() as (stdout, stderr): filter_status(State(), {'id': '1', 'task': 'add'}, Mock()) self.assertTrue(stdout.getvalue())
def test_filter_status(): with mock.stdouts() as (stdout, stderr): filter_status(State(), {'id': '1', 'task': 'add'}, Mock()) assert stdout.getvalue()
def test_filter_status(): with mock.stdouts() as (stdout, stderr): filter_status(State(), {"id": "1", "task": "add"}, Mock()) assert stdout.getvalue()