Exemple #1
0
    def test_help(self):
        sys.argv = ["magui.py", "--help"]
        try:
            magui.main()
        except:
            pass

        assert True
Exemple #2
0
    def test_main(self):
        sys.argv = ["magui.py", "--list-plugins"]
        try:
            magui.main()
        except:
            pass

        assert True
Exemple #3
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2018, 2019, 2020 Pablo Iranzo Gómez <*****@*****.**>

import os
import sys

sys.path.append(os.path.abspath(os.path.dirname(__file__) + "/" + "../"))

from maguiclient.magui import main

if __name__ == "__main__":
    sys.exit(main())