def test_filter_status(self, stdout, stderr):
     filter_status(State(), {'id': '1', 'task': 'add'}, Mock())
     self.assertTrue(stdout.getvalue())
예제 #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())
예제 #3
0
def test_filter_status():
    with mock.stdouts() as (stdout, stderr):
        filter_status(State(), {'id': '1', 'task': 'add'}, Mock())
        assert stdout.getvalue()
예제 #4
0
def test_filter_status():
    with mock.stdouts() as (stdout, stderr):
        filter_status(State(), {"id": "1", "task": "add"}, Mock())
        assert stdout.getvalue()
예제 #5
0
def test_filter_status():
    with mock.stdouts() as (stdout, stderr):
        filter_status(State(), {'id': '1', 'task': 'add'}, Mock())
        assert stdout.getvalue()