[virt-tools-list] [virt-bootstrap] [PATCH v5 00/11] Unit tests

Radostin Stoyanov rstoyanov1 at gmail.com
Mon Jul 24 08:14:00 UTC 2017


Hi all,

This patch series contains a the revised version of the last patch
series along with a four new patches.

The tests are revised to match the changes.

Radostin Stoyanov (11):
  Add remapping ownership of files in rootfs
  tests: Add test suite
  DockerSource: Fix formula of download progress
  DockerSource: Show correct err msg on skopeo fail
  Add support for setting root passowrd in qcow2
  Use 'tox' to test agains multiple Python versions
  tests: Add unit tests for 'virt_bootstrap' module
  tests: Add unit tests for DockerSource
  tests: Add unit tests for FileSource
  tests: Add unit tests for "progress" module
  tests: Add unit tests for the "utils" module

 README.md                           |  12 +
 setup.py                            |   5 +-
 src/virtBootstrap/sources.py        |  20 +-
 src/virtBootstrap/utils.py          |  26 +-
 src/virtBootstrap/virt_bootstrap.py | 124 ++++++-
 tests/__init__.py                   |  41 +++
 tests/test_docker_source.py         | 605 +++++++++++++++++++++++++++++++
 tests/test_file_source.py           | 174 +++++++++
 tests/test_progress.py              | 115 ++++++
 tests/test_utils.py                 | 702 ++++++++++++++++++++++++++++++++++++
 tests/test_virt_bootstrap.py        | 467 ++++++++++++++++++++++++
 tox.ini                             |  23 ++
 12 files changed, 2304 insertions(+), 10 deletions(-)
 create mode 100644 tests/__init__.py
 create mode 100644 tests/test_docker_source.py
 create mode 100644 tests/test_file_source.py
 create mode 100644 tests/test_progress.py
 create mode 100644 tests/test_utils.py
 create mode 100644 tests/test_virt_bootstrap.py
 create mode 100644 tox.ini

-- 
2.9.4




More information about the virt-tools-list mailing list