def test_empty(self, monkeypatch): self.patch_docopt("FAKEFAKEFAKE", monkeypatch) result = main() assert result != 0 and result is not None
def test_generate(self, input_, monkeypatch): self.patch_docopt(input_, monkeypatch) result = self.patch_func(input_, monkeypatch) assert main() is result