aboutsummaryrefslogtreecommitdiffstats
path: root/library/recipes/docker_compose/example_with_recipe_config/test.py
blob: 08c4d7b6e5b447ab35bd2f44c70d2f7a5b11f5f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import os
import logging

import yatest.common


def test():
    os.makedirs("/tmp/output")
    with open("/tmp/output/out.txt", "w") as f:
        res = yatest.common.execute("/app/bin/hello")
        f.write("/bin/hello stdout: {}".format(res.std_out))
    logging.info("out: %s", res.std_out)