metaparticle-io / package

Metaparticle/Package: Language Fluent Containerization and Deployment in Java, .NET and Javascript (and more coming soon)
https://metaparticle.io
MIT License
493 stars 55 forks source link

[tests] Python docker_builder.py has no tests for build/push errors #102

Closed cgmcintyr closed 6 years ago

cgmcintyr commented 6 years ago

Currently python/metaparticle_pkg/builder/docker_builder.py does not have any tests for build or publish when docker.APIClient.build or docker.APIClient.push returns an error.

The lines which need to be tested are:

https://github.com/metaparticle-io/package/blob/5c1640db16079aea02f738d37612a6b68fc10bc0/python/metaparticle_pkg/builder/docker_builder.py#L36-L39