def test_postprocess(config, tmpdir): config['path'] = unicode(tmpdir) # NOTE: Nothing to assert here, we just check that it runs with our dummy # environment cli.postprocess(config)
def test_postprocess(config, mock_plugin_mgr, tmpdir): config['path'] = unicode(tmpdir) # NOTE: Nothing to assert here, we just check that it runs with our dummy # environment cli.postprocess(config)
def test_postprocess(self): args = Mock() args.path = '/tmp/foo' cli.postprocess(args=args) assert cli.workflow.process.call_args == call('/tmp/foo')
def test_postprocess(self): self.workflow.path = '/tmp/foo' cli.postprocess(self.workflow) assert self.workflow.process.call_count == 1