aptly_test

Testing pyaptly

pyaptly.aptly_test.do_mirror_update(config)[source]

Test if updating mirrors works.

pyaptly.aptly_test.do_publish_create(config)[source]

Test if creating publishes works.

pyaptly.aptly_test.do_publish_create_republish(config)[source]

Test if creating republishes works.

pyaptly.aptly_test.do_publish_create_rotating(config)[source]

Test if creating publishes works.

pyaptly.aptly_test.do_repo_create(config)[source]

Test if creating repositories works.

pyaptly.aptly_test.do_snapshot_create(config)[source]

Test if createing snapshots works

pyaptly.aptly_test.do_snapshot_update_rotating(config)[source]

Helper for rotating snapshot tests

pyaptly.aptly_test.mock_subprocess()[source]

Mock subprocess that no commands are executed

pyaptly.aptly_test.test_debug()[source]

Test if debug is enabled with -d

pyaptly.aptly_test.test_mirror_create()[source]

Test if createing mirrors works.

pyaptly.aptly_test.test_mirror_update()[source]

Test if updating mirrors works.

pyaptly.aptly_test.test_mirror_update_inexistent()[source]

Test if updating an inexistent mirror causes an error.

pyaptly.aptly_test.test_mirror_update_single()[source]

Test if updating a single mirror works.

pyaptly.aptly_test.test_pretend()[source]

Test if pretend is enabled with -p

pyaptly.aptly_test.test_publish_create_basic()[source]

Test if creating publishes works.

pyaptly.aptly_test.test_publish_create_inexistent()[source]

Test if creating inexistent publish raises an error.

pyaptly.aptly_test.test_publish_create_repo()[source]

Test if creating repo publishes works.

pyaptly.aptly_test.test_publish_create_republish()[source]

Test if creating republishes works.

pyaptly.aptly_test.test_publish_create_rotating()[source]

Test if creating rotating publishes works.

pyaptly.aptly_test.test_publish_create_single()[source]

Test if creating a single publish works.

pyaptly.aptly_test.test_publish_snapshot_update_rotating()[source]

Test if update rotating publishes via snapshot works.

pyaptly.aptly_test.test_publish_update_republish()[source]

Test if update republishes works.

pyaptly.aptly_test.test_publish_update_rotating()[source]

Test if update rotating publishes works.

pyaptly.aptly_test.test_publish_updating_basic()[source]

Test if updating publishes works.

pyaptly.aptly_test.test_repo_create_basic()[source]

Test if creating repositories works.

pyaptly.aptly_test.test_repo_create_inexistent()[source]

Test if creating an inexistent repo causes an error.

pyaptly.aptly_test.test_repo_create_single()[source]

Test if creating a single repo works.

pyaptly.aptly_test.test_snapshot_create_basic()[source]

Test if snapshot create works.

pyaptly.aptly_test.test_snapshot_create_filter()[source]

Test if snapshot filter create works.

pyaptly.aptly_test.test_snapshot_create_inexistent()[source]

Test if creating an inexistent snapshot raises an error.

pyaptly.aptly_test.test_snapshot_create_merge()[source]

Test if snapshot merge create works.

pyaptly.aptly_test.test_snapshot_create_repo()[source]

Test if repo snapshot create works.

pyaptly.aptly_test.test_snapshot_create_rotating()[source]

Test if rotating snapshot create works.

pyaptly.aptly_test.test_snapshot_create_single()[source]

Test if single snapshot create works.

pyaptly.aptly_test.test_snapshot_spec_as_dict()[source]

Test various snapshot formats for snapshot_spec_to_name()

pyaptly.aptly_test.test_snapshot_update_rotating()[source]

Test if rotating snapshot update works.

pyaptly.aptly_test.test_snapshot_update_twice_rotating()[source]

Test if rotating snapshot update works.