boilercore_tests.test_namespaces
#
Tests for notebook namespaces.
Module Contents#
Functions#
Notebook is not cached before. |
|
Namespace is empty. |
|
Cached function returns the same namespace. |
|
Cached function creates a cache file. |
|
Cache file starts with a certain byte string. |
|
Cache file is cleared. |
|
Namespace has only attribute ‘a’. |
|
Namespace attribute ‘a’ is as expected. |
API#
- boilercore_tests.test_namespaces.test_not_cached_before(
- cache_file,
Notebook is not cached before.
- boilercore_tests.test_namespaces.test_empty_ns(
- cached_function,
Namespace is empty.
- boilercore_tests.test_namespaces.test_cached_equals(
- cached_function,
Cached function returns the same namespace.
- boilercore_tests.test_namespaces.test_cached(
- cached_function,
- cache_file,
Cached function creates a cache file.
- boilercore_tests.test_namespaces.test_cache_startswith(
- cached_function,
- cache_file,
Cache file starts with a certain byte string.
- boilercore_tests.test_namespaces.test_cleared(
- cached_function,
- cache_file,
Cache file is cleared.
- boilercore_tests.test_namespaces.test_only_a(
- cached_function,
Namespace has only attribute ‘a’.
- boilercore_tests.test_namespaces.test_a_equals(
- cached_function,
Namespace attribute ‘a’ is as expected.