Exemplo n.º 1
0
def test_independent():
    if os.environ.get('TRAVIS'):
        # for some reason this test does not run on Travis
        return
    # FIXME: in the future move litetask in calculators.calc and uncomment this
    # assert_independent('openquake.commonlib.parallel', 'openquake.hazardlib')
    assert_independent('openquake.commonlib.node', 'openquake.hazardlib')
Exemplo n.º 2
0
def test_independent():
    if os.environ.get("TRAVIS"):
        # for some reason this test does not run on Travis
        return
    # FIXME: in the future move litetask in calculators.calc and uncomment this
    # assert_independent('openquake.commonlib.parallel', 'openquake.hazardlib')
    assert_independent("openquake.commonlib.node", "openquake.hazardlib")
Exemplo n.º 3
0
 def test_engine(self):
     assert_independent('openquake.engine', 'openquake.server')
Exemplo n.º 4
0
 def test_commonlib(self):
     assert_independent('openquake.commonlib', 'openquake.calculators')
     assert_independent('openquake.baselib.node', 'openquake.hazardlib')
     assert_independent('openquake.baselib.parallel', 'openquake.hazardlib')
Exemplo n.º 5
0
 def test_risklib(self):
     assert_independent('openquake.risklib', 'openquake.commonlib')
     assert_independent('openquake.risklib', 'openquake.calculators')
Exemplo n.º 6
0
 def test(self):
     assert_independent('openquake.commonlib', 'openquake.engine')
Exemplo n.º 7
0
 def test(self):
     assert_independent('openquake.baselib', 'openquake.hazardlib')
     assert_independent('openquake.hazardlib', 'openquake.hmtk')
Exemplo n.º 8
0
def test_independent():
    assert_independent('openquake.commonlib.parallel', 'openquake.hazardlib')
Exemplo n.º 9
0
 def test_engine(self):
     assert_independent('openquake.engine', 'openquake.server')
Exemplo n.º 10
0
 def test_commonlib(self):
     assert_independent('openquake.commonlib', 'openquake.calculators')
     assert_independent('openquake.commonlib.node', 'openquake.hazardlib')
     assert_independent('openquake.baselib.parallel', 'openquake.hazardlib')
Exemplo n.º 11
0
 def test_risklib(self):
     assert_independent('openquake.risklib', 'openquake.commonlib')
     assert_independent('openquake.risklib', 'openquake.calculators')
Exemplo n.º 12
0
def test_independent_from_server():
    raise unittest.SkipTest  # temporary dependency
    assert_independent('openquake.engine', 'openquake.server')
Exemplo n.º 13
0
def test_independent():
    if os.environ.get('TRAVIS'):
        # for some reason this test does not run on Travis
        return
    assert_independent('openquake.commonlib.parallel', 'openquake.hazardlib')
    assert_independent('openquake.commonlib.node', 'openquake.hazardlib')
Exemplo n.º 14
0
def test_independent_from_server():
    assert_independent('openquake.engine', 'openquake.server')
Exemplo n.º 15
0
 def test_hmtk(self):
     assert_independent('openquake.hmtk', 'openquake.risklib')
     assert_independent('openquake.hmtk', 'openquake.commonlib')