Esempio n. 1
0
def test_moc_preprocessing():
    setup_env()
    args = [sys.executable, '-m', 'pytest',
            os.path.join(os.path.dirname(__file__), 'back/moc_preprocessing_test_actual.py'), '-s']

    status = subprocess.run(args, env=os.environ)
    assert not status.returncode
Esempio n. 2
0
def test_mo_model_analysis():
    setup_env()
    args = [sys.executable, '-m', 'pytest',
            os.path.join(os.path.dirname(__file__), 'utils/test_mo_model_analysis_actual.py'), '-s']

    status = subprocess.run(args, env=os.environ)
    assert not status.returncode
Esempio n. 3
0
def test_moc_extractor():
    setup_env()
    args = [sys.executable, '-m', 'pytest',
            os.path.join(os.path.dirname(__file__), 'moc_frontend/moc_extractor_test_actual.py'), '-s']

    status = subprocess.run(args, env=os.environ)
    assert not status.returncode