ramble.test.util namespace
Submodules
ramble.test.util.colors module
ramble.test.util.conversions module
ramble.test.util.editor module
ramble.test.util.env module
Perform tests of the util/env functions
ramble.test.util.file_cache module
- ramble.test.util.file_cache.cache(tmpdir)[source]
Fixture for a file cache in a temporary directory.
- ramble.test.util.file_cache.test_destroy(cache)[source]
Test that destroy removes all cache contents.
- ramble.test.util.file_cache.test_init_entry_existing_file(cache)[source]
Test init_entry for an existing file.
- ramble.test.util.file_cache.test_init_entry_hierarchical(cache)[source]
Test init_entry for a hierarchical key.
- ramble.test.util.file_cache.test_init_entry_is_dir_error(cache)[source]
Test that init_entry raises an error if the path is a directory.
- ramble.test.util.file_cache.test_init_entry_new(cache)[source]
Test init_entry for a new cache entry.
- ramble.test.util.file_cache.test_write_and_read_transaction(cache)[source]
Test writing to and reading from the cache.
ramble.test.util.foms module
ramble.test.util.format module
ramble.test.util.logger module
- ramble.test.util.logger.test_add_log_context(logger, tmpdir)[source]
Test basic functionality of add_log_context.
- ramble.test.util.logger.test_add_log_context_exception(logger, tmpdir)[source]
Test that log is removed even if an exception occurs.
- ramble.test.util.logger.test_add_log_context_unbalanced_nested(logger, tmpdir)[source]
Test that a warning is issued if the log to be removed is not active.
- ramble.test.util.logger.test_aggregate_warnings(logger)[source]
Test that warnings are aggregated when aggregate_warnings is on.
- ramble.test.util.logger.test_print_aggregated_warnings(logger)[source]
Test that warnings are printed at the end.
ramble.test.util.module_utils module
ramble.test.util.naming module
Perform tests of the util/naming functions
- ramble.test.util.naming.test_match_pattern(pattern, string, expected_match, expected_groups)[source]
ramble.test.util.object_utils module
ramble.test.util.output_capture module
Perform tests of the util/output_capture functions
ramble.test.util.path module
Perform tests of the util/path functions
ramble.test.util.shell_utils module
ramble.test.util.spec_utils module
ramble.test.util.stats module
ramble.test.util.web module
Perform tests of the util/web functions