Beispiel #1
0
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)
Beispiel #2
0
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)
Beispiel #3
0
 def test_postprocess(self):
     args = Mock()
     args.path = '/tmp/foo'
     cli.postprocess(args=args)
     assert cli.workflow.process.call_args == call('/tmp/foo')
Beispiel #4
0
 def test_postprocess(self):
     args = Mock()
     args.path = '/tmp/foo'
     cli.postprocess(args=args)
     assert cli.workflow.process.call_args == call('/tmp/foo')
Beispiel #5
0
 def test_postprocess(self):
     self.workflow.path = '/tmp/foo'
     cli.postprocess(self.workflow)
     assert self.workflow.process.call_count == 1