Exemple #1
0
    def test_empty(self, monkeypatch):
        self.patch_docopt("FAKEFAKEFAKE", monkeypatch)

        result = main()
        assert result != 0 and result is not None
Exemple #2
0
    def test_generate(self, input_, monkeypatch):
        self.patch_docopt(input_, monkeypatch)
        result = self.patch_func(input_, monkeypatch)

        assert main() is result