transferpy.test.integration package

Submodules

transferpy.test.integration.test_transfer module

Integration tests for Transferer class.

WARNING: DON’T RUN THE INTEGRATION TESTS ON PRODUCTION

The following integration tests are DESTRUCTIVE in nature. Some of the tests are designed to corrupt the testing data (eg: test_parallel_checksum_*). Running these integration tests on production could CORRUPT the important production data.

class transferpy.test.integration.test_transfer.TestTransferer(*args, **kwargs)[source]

Bases: TestCase

Test cases for Transferer.

DEST_PATH = 'target-path'
DST_HOST = 'target-host'
SRC_HOST = 'source-host'
SRC_PATH = 'source-path'
setUp()[source]

Setup the tests.

test_find_available_port()[source]

Test find available port.

test_parallel_checksum_decompress()[source]

Test parallel checksum for a compressed transfer.

test_parallel_checksum_dir()[source]

Test parallel checksum for a directory transfer.

test_parallel_checksum_file()[source]

Test parallel checksum for single file transfer.

test_parallel_checksum_xtrabackup()[source]

Test parallel checksum for xtrabackup transfer.

Module contents