Open JayH5 opened 6 years ago
Google's Container Structure Tests support this. There is a get_archive() call on the Container model that could be used: https://docker-py.readthedocs.io/en/stable/containers.html#docker.models.containers.Container.get_archive
get_archive()
This may be a matter of writing a testtools matcher that can assert things like file contents and metadata when given a stream to a tarball.
Google's Container Structure Tests support this. There is a
get_archive()
call on the Container model that could be used: https://docker-py.readthedocs.io/en/stable/containers.html#docker.models.containers.Container.get_archiveThis may be a matter of writing a testtools matcher that can assert things like file contents and metadata when given a stream to a tarball.