Esempio n. 1
0
def test_examples(frontend, f):
    # Test the examples with whatever the current QT_LIB front
    # end is
    print('frontend = %s. f = %s' % (frontend, f))
    if not frontends[frontend]:
        pytest.skip('{} is not installed. Skipping tests'.format(frontend))
    utils.testFile(f[0], f[1], utils.sys.executable, frontend)
Esempio n. 2
0
def test_examples(frontend, f):
    # Test the examples with all available front-ends
    print("frontend = %s. f = %s" % (frontend, f))
    if not frontends[frontend]:
        pytest.skip("{} is not installed. Skipping tests".format(frontend))
    utils.testFile(f[0], f[1], utils.sys.executable, frontend)
Esempio n. 3
0
def test_examples(frontend, f):
    # Test the examples with all available front-ends
    print('frontend = %s. f = %s' % (frontend, f))
    if not frontends[frontend]:
        pytest.skip('{} is not installed. Skipping tests'.format(frontend))
    utils.testFile(f[0], f[1], utils.sys.executable, frontend)