Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Make it possible to specify custom name for container_output #10

Open
goldmann opened this issue Mar 27, 2015 · 1 comment
Open

Make it possible to specify custom name for container_output #10

goldmann opened this issue Mar 27, 2015 · 1 comment

Comments

@goldmann
Copy link
Member

It would be nice if we could specify a custom name (for example based on the test method) to quickly find the right container_output log.

@rwngwn
Copy link
Contributor

rwngwn commented Mar 30, 2015

I've implemented a way to put custom container name in output.
if you create container in a way like

c= Container(image_id=xxxxx, name='Test' )

and than specify

c.stop(mark_output=True)

it should create file like:
container_Test_xxx43403285932...._output.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants