def test_get_cmd_when_unknown( mock_read_local_dockerfile_lines, ): mock_read_local_dockerfile_lines.return_value = [] actual = get_dockerfile_cmd() assert 'Unknown' in actual
def test_get_cmd_when_unknown(mock_read_local_dockerfile_lines, ): mock_read_local_dockerfile_lines.return_value = [] actual = get_dockerfile_cmd() assert 'Unknown' in actual
def test_get_cmd_when_working( mock_read_local_dockerfile_lines, ): mock_read_local_dockerfile_lines.return_value = ['CMD BLA'] actual = get_dockerfile_cmd() assert 'BLA' == actual
def test_get_cmd_when_working(mock_read_local_dockerfile_lines, ): mock_read_local_dockerfile_lines.return_value = ['CMD BLA'] actual = get_dockerfile_cmd() assert 'BLA' == actual