"""
from __future__ import print_function,unicode_literals
from past.builtins import basestring

# import pdb
import os
import os.path
import sys
from zerobug import Z0BUG


__version__ = "0.2.14.16"

MODULE_ID = 'zerobug'
TEST_FAILED = 1
TEST_SUCCESS = 0


def version():
    return __version__


# Run main if executed as a script
if __name__ == "__main__":
    UT_LIST = ["__doctest_${rundir}/docs/description.rst"]
    exit(Z0BUG.main(
        Z0BUG.parseoptest(
            sys.argv[1:],
            version=version()),
        UT=UT_LIST))
Example #2
0

def version():
    return __version__


# Run main if executed as a script
if __name__ == "__main__":
    ctx = Z0BUG.parseoptest(sys.argv[1:], version=version())
    if os.name == 'posix':
        if os.environ.get('HOSTENV', '') == 'travis':
            UT_LIST = ["__version_0_" + __version__]
        else:
            UT_LIST = [
                "__version_0_" + __version__,
                "__version_1_0.2.8.8%s/tools/z0lib/z0librc" %
                os.environ.get('HOME', '')
            ]
        UT_LIST.append("__version_V_0.2.0${testdir}/dummy_01.py")
        UT_LIST.append("__version_v_0.2.1${testdir}/dummy_01.py")
        UT_LIST.append("__version_P_0.2.2${testdir}/dummy_01.py")
    else:  # pragma: no cover
        UT_LIST = [
            "__version_0_" + __version__,
            "__version_V_0.2.0${testdir}/dummy_01.py",
            "__version_v_0.2.1${testdir}/dummy_01.py",
            "__version_P_0.2.2${testdir}/dummy_01.py"
        ]
    sts = Z0BUG.main(ctx, UT=UT_LIST)
    exit(sts)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2015-2019 SHS-AV s.r.l. (<http://www.zeroincombenze.org>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
"""
    python_plus unit test library for python programs Regression Test Suite
"""
from __future__ import print_function, unicode_literals

# import pdb
import os
import os.path
import sys
from zerobug import Z0BUG
from python_plus import isbytestr, qsplit

MODULE_ID = 'python_plus'
TEST_FAILED = 1
TEST_SUCCESS = 0

__version__ = "0.1.1"


def version():
    return __version__


if __name__ == "__main__":
    exit(Z0BUG.main(Z0BUG.parseoptest(sys.argv[1:], version=version())))
Example #4
0
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
"""
    Python-plus Regression Test Suite
"""
from __future__ import print_function, unicode_literals

# import pdb
import os
import os.path
import sys
from zerobug import Z0BUG
from python_plus import isbytestr, qsplit

MODULE_ID = 'python_plus'
TEST_FAILED = 1
TEST_SUCCESS = 0

__version__ = "0.1.1"


def version():
    return __version__


# Run main if executed as a script
if __name__ == "__main__":
    ctx = Z0BUG.parseoptest(sys.argv[1:],
                        version=version())
    UT_LIST = ["__doctest_${rundir}/docs/python_plus.rst"]
    exit(Z0BUG.main(ctx, UT=UT_LIST))