Beispiel #1
0
def test_is_component_dockerised():
    """Tests for is_component_dockerised()."""
    from reana.cli import is_component_dockerised
    if os.environ.get('REANA_SRCDIR'):
        assert is_component_dockerised(
            'reana-workflow-controller') is True
        assert is_component_dockerised(
            'reana-cluster') is False
Beispiel #2
0
def test_is_component_dockerised():
    """Tests for is_component_dockerised()."""
    from reana.cli import is_component_dockerised
    assert is_component_dockerised('reana') is False