예제 #1
0
def test_main():
    with test_support.DirsOnSysPath(lib_tk_test):
        from test_ttk.support import get_tk_root

        try:
            test_support.run_unittest(*runtktests.get_tests(text=False, packages=["test_ttk"]))
        finally:
            get_tk_root().destroy()
예제 #2
0
def test_main():
    with test_support.DirsOnSysPath(lib_tk_test):
        from test_ttk.support import get_tk_root
        try:
            test_support.run_unittest(
                *runtktests.get_tests(text=False, packages=['test_ttk']))
        finally:
            get_tk_root().destroy()
예제 #3
0
def test_main(enable_gui=False):
    if enable_gui:
        if test_support.use_resources is None:
            test_support.use_resources = ['gui']
        elif 'gui' not in test_support.use_resources:
            test_support.use_resources.append('gui')

    test_support.run_unittest(
            *runtktests.get_tests(text=False, packages=['test_tkinter']))
예제 #4
0
def test_main(enable_gui=False):
    if enable_gui:
        if test_support.use_resources is None:
            test_support.use_resources = ["gui"]
        elif "gui" not in test_support.use_resources:
            test_support.use_resources.append("gui")

    with test_support.DirsOnSysPath(lib_tk_test):
        test_support.run_unittest(*runtktests.get_tests(text=False, packages=["test_tkinter"]))
예제 #5
0
def test_main(enable_gui=False):
    if enable_gui:
        if test_support.use_resources is None:
            test_support.use_resources = ['gui']
        elif 'gui' not in test_support.use_resources:
            test_support.use_resources.append('gui')

    test_support.run_unittest(
        *runtktests.get_tests(text=False, packages=['test_ttk']))
예제 #6
0
def test_main(enable_gui=False):
    if enable_gui:
        if test_support.use_resources is None:
            test_support.use_resources = ['gui']
        elif 'gui' not in test_support.use_resources:
            test_support.use_resources.append('gui')

    with test_support.DirsOnSysPath(lib_tk_test):
        test_support.run_unittest(
            *runtktests.get_tests(text=False, packages=['test_ttk']))
예제 #7
0
파일: test_tk.py 프로젝트: altrevi2/Cpp
def test_main(enable_gui=False):
    if enable_gui:
        if test_support.use_resources is None:
            test_support.use_resources = ['gui']
        elif 'gui' not in test_support.use_resources:
            test_support.use_resources.append('gui')

    with test_support.DirsOnSysPath(lib_tk_test):
        test_support.run_unittest(
            *runtktests.get_tests(text=False, packages=['test_tkinter']))
예제 #8
0
def test_main(enable_gui=False):
    if enable_gui:
        if test_support.use_resources is None:
            test_support.use_resources = ["gui"]
        elif "gui" not in test_support.use_resources:
            test_support.use_resources.append("gui")

    with test_support.DirsOnSysPath(lib_tk_test):
        from test_ttk.support import get_tk_root

        try:
            test_support.run_unittest(*runtktests.get_tests(text=False, packages=["test_ttk"]))
        finally:
            get_tk_root().destroy()
예제 #9
0
def test_main(enable_gui=False):
    if enable_gui:
        if test_support.use_resources is None:
            test_support.use_resources = ['gui']
        elif 'gui' not in test_support.use_resources:
            test_support.use_resources.append('gui')

    with test_support.DirsOnSysPath(lib_tk_test):
        from test_ttk.support import get_tk_root
        try:
            test_support.run_unittest(
                *runtktests.get_tests(text=False, packages=['test_ttk']))
        finally:
            get_tk_root().destroy()
예제 #10
0
def test_main():
    with test_support.DirsOnSysPath(lib_tk_test):
        test_support.run_unittest(
            *runtktests.get_tests(gui=False, packages=['test_ttk']))
예제 #11
0
def test_main():
    with test_support.DirsOnSysPath(lib_tk_test):
        test_support.run_unittest(
            *runtktests.get_tests(text=False, packages=['test_tkinter']))
예제 #12
0
def test_main():
    with test_support.DirsOnSysPath(lib_tk_test):
        test_support.run_unittest(*runtktests.get_tests(gui=False, packages=["test_ttk"]))
예제 #13
0
def test_main():
    test_support.run_unittest(
            *runtktests.get_tests(gui=False, packages=['test_ttk']))