コード例 #1
0
    def test_empty(self, monkeypatch):
        self.patch_docopt("FAKEFAKEFAKE", monkeypatch)

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

        assert main() is result