File: test_docker_info.py

package info (click to toggle)
cwltool 1.0.20181217162649%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,632 kB
  • sloc: python: 11,008; makefile: 153; sh: 22
file content (9 lines) | stat: -rw-r--r-- 330 bytes parent folder | download
1
2
3
4
5
6
7
8
9
import pytest
from .util import get_data, get_main_output, needs_docker

@needs_docker
def test_docker_mem():
    error_code, stdout, stderr = get_main_output(
        ["--default-container=debian", "--enable-ext",
         get_data("tests/wf/timelimit.cwl"), "--sleep_time", "10"])
    assert "Max memory used" in stderr, stderr