Changed how this module path is treated: do not use getattr, but try importing the module itself.

#23 Merged at dd8d0e3
Repository
warvariuc
Branch
backed-import-fix
Repository
zzzeek
Branch
master
Author
  1. Victor Varvaryuk
Reviewers
Description
$ python setup.py test
running test
running egg_info
writing requirements to dogpile.cache.egg-info/requires.txt
writing dogpile.cache.egg-info/PKG-INFO
writing namespace_packages to dogpile.cache.egg-info/namespace_packages.txt
writing top-level names to dogpile.cache.egg-info/top_level.txt
writing dependency_links to dogpile.cache.egg-info/dependency_links.txt
writing entry points to dogpile.cache.egg-info/entry_points.txt
reading manifest file 'dogpile.cache.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.html' under directory 'docs'
warning: no files found matching '*.css' under directory 'docs'
warning: no files found matching '*.js' under directory 'docs'
warning: no files found matching '*.jpg' under directory 'docs'
warning: no files found matching '*.png' under directory 'docs'
warning: no files found matching '*.sty' under directory 'docs'
warning: no files found matching '*.dat' under directory 'tests'
warning: no files found matching 'distribute_setup.py'
warning: no files found matching 'CHANGES*'
warning: no files found matching 'test.cfg'
no previously-included directories found matching 'docs/build/output'
writing manifest file 'dogpile.cache.egg-info/SOURCES.txt'
running build_ext
/home/vic/projects/venv/dogpile.cache/local/lib/python2.7/site-packages/nose/config.py:264: RuntimeWarning: Option 'cover-package' in config file 'setup.cfg' ignored: excluded by runtime environment
  warn(msg, RuntimeWarning)
/home/vic/projects/venv/dogpile.cache/local/lib/python2.7/site-packages/nose/config.py:264: RuntimeWarning: Option 'with-coverage' in config file 'setup.cfg' ignored: excluded by runtime environment
  warn(msg, RuntimeWarning)
/home/vic/projects/venv/dogpile.cache/local/lib/python2.7/site-packages/nose/config.py:264: RuntimeWarning: Option 'cover-erase' in config file 'setup.cfg' ignored: excluded by runtime environment
  warn(msg, RuntimeWarning)
test_basic (tests.cache.plugins.test_mako_cache.TestMakoPlugin) ... ok
test_timeout (tests.cache.plugins.test_mako_cache.TestMakoPlugin) ... ok
test_backend_delete (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_backend_delete_nothing (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_backend_get_nothing (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_backend_set_get_value (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_decorated_fn_functionality (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_exploding_value_fn (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_creator (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_delete (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_delete_multiple (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_expire (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... FAIL
test_region_get_empty_multiple (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_get_multiple_values (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_get_nothing_multiple (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_set_get_nothing (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_set_get_value (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_set_multiple_values (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_region_set_zero_multiple_values (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_threaded_dogpile (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_threaded_get_multi (tests.cache.test_dbm_backend.DBMBackendConditionTest) ... ok
test_backend_delete (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_backend_delete_nothing (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_backend_get_nothing (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_backend_set_get_value (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_decorated_fn_functionality (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_exploding_value_fn (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_creator (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_delete (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_delete_multiple (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_expire (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... FAIL
test_region_get_empty_multiple (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_get_multiple_values (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_get_nothing_multiple (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_set_get_nothing (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_set_get_value (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_set_multiple_values (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_region_set_zero_multiple_values (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_threaded_dogpile (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_threaded_get_multi (tests.cache.test_dbm_backend.DBMBackendNoLockTest) ... ok
test_backend_delete (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_backend_delete_nothing (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_backend_get_nothing (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_backend_set_get_value (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_decorated_fn_functionality (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_exploding_value_fn (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_creator (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_delete (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_delete_multiple (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_expire (tests.cache.test_dbm_backend.DBMBackendTest) ... FAIL
test_region_get_empty_multiple (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_get_multiple_values (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_get_nothing_multiple (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_set_get_nothing (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_set_get_value (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_set_multiple_values (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_region_set_zero_multiple_values (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_threaded_dogpile (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_threaded_get_multi (tests.cache.test_dbm_backend.DBMBackendTest) ... ok
test_mutex (tests.cache.test_dbm_backend.DBMMutexConditionTest) ... ok
test_mutex_reentrant_across_keys (tests.cache.test_dbm_backend.DBMMutexConditionTest) ... ok
test_mutex_threaded (tests.cache.test_dbm_backend.DBMMutexConditionTest) ... ok
test_reentrant_dogpile (tests.cache.test_dbm_backend.DBMMutexConditionTest) ... ok
test_release_assertion_key (tests.cache.test_dbm_backend.DBMMutexConditionTest) ... ok
test_release_assertion_thread (tests.cache.test_dbm_backend.DBMMutexConditionTest) ... ok
test_mutex (tests.cache.test_dbm_backend.DBMMutexFileTest) ... ok
test_mutex_reentrant_across_keys (tests.cache.test_dbm_backend.DBMMutexFileTest) ... ok
test_mutex_threaded (tests.cache.test_dbm_backend.DBMMutexFileTest) ... ok
test_reentrant_dogpile (tests.cache.test_dbm_backend.DBMMutexFileTest) ... ok
test_release_assertion_key (tests.cache.test_dbm_backend.DBMMutexFileTest) ... ok
test_release_assertion_thread (tests.cache.test_dbm_backend.DBMMutexFileTest) ... ok
test_cache_arg (tests.cache.test_decorator.CacheDecoratorTest) ... ok
test_multi (tests.cache.test_decorator.CacheDecoratorTest) ... ok
test_multi_asdict (tests.cache.test_decorator.CacheDecoratorTest) ... ok
test_multi_asdict_keys_missing (tests.cache.test_decorator.CacheDecoratorTest) ... ok
test_multi_asdict_keys_missing_existing_cache_fn (tests.cache.test_decorator.CacheDecoratorTest) ... ok
test_multi_namespace (tests.cache.test_decorator.CacheDecoratorTest) ... ok
test_reentrant_call (tests.cache.test_decorator.CacheDecoratorTest) ... ok
test_decorator (tests.cache.test_decorator.DecoratorTest) ... ok
test_decorator_custom_expire (tests.cache.test_decorator.DecoratorTest) ... ok
test_decorator_expire_callable (tests.cache.test_decorator.DecoratorTest) ... ok
test_decorator_expire_callable_zero (tests.cache.test_decorator.DecoratorTest) ... ok
test_decorator_namespace (tests.cache.test_decorator.DecoratorTest) ... ok
test_explicit_expire (tests.cache.test_decorator.DecoratorTest) ... ok
test_explicit_get (tests.cache.test_decorator.DecoratorTest) ... ok
test_explicit_get_multi (tests.cache.test_decorator.DecoratorTest) ... ok
test_explicit_refresh (tests.cache.test_decorator.DecoratorTest) ... ok
test_explicit_refresh_multi (tests.cache.test_decorator.DecoratorTest) ... ok
test_explicit_set (tests.cache.test_decorator.DecoratorTest) ... ok
test_explicit_set_multi (tests.cache.test_decorator.DecoratorTest) ... ok
test_key_isnt_unicode_bydefault (tests.cache.test_decorator.KeyGenerationTest) ... ok
test_keygen_fn (tests.cache.test_decorator.KeyGenerationTest) ... ok
test_keygen_fn_namespace (tests.cache.test_decorator.KeyGenerationTest) ... ok
test_multi_keygen_fn (tests.cache.test_decorator.KeyGenerationTest) ... ok
test_unicode_key (tests.cache.test_decorator.KeyGenerationTest) ... ok
test_unicode_key_by_default (tests.cache.test_decorator.KeyGenerationTest) ... SKIP: Python 3 required
test_unicode_key_multi (tests.cache.test_decorator.KeyGenerationTest) ... ok
test_entry_point (tests.cache.test_mako.MakoTest) ... ok
SKIP: Backend dogpile.cache.bmemcached not installed
SKIP: Backend dogpile.cache.bmemcached not installed
SKIP: Backend dogpile.cache.bmemcached not installed
test_client_cleanup_1 (tests.cache.test_memcached_backend.LocalThreadTest) ... ok
test_client_cleanup_10 (tests.cache.test_memcached_backend.LocalThreadTest) ... ok
test_client_cleanup_3 (tests.cache.test_memcached_backend.LocalThreadTest) ... ok
test_set_min_compress_len (tests.cache.test_memcached_backend.MemcachedArgstest) ... ok
test_set_time (tests.cache.test_memcached_backend.MemcachedArgstest) ... ok
SKIP: Backend dogpile.cache.memcached not installed
SKIP: Backend dogpile.cache.memcached not installed
SKIP: Backend dogpile.cache.memcached not installed
test_behaviors (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
test_binary_flag (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
test_no_set_args (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
test_set_min_compress_len (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
test_set_time (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
test_url_list (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
test_url_scalar (tests.cache.test_memcached_backend.PylibmcArgsTest) ... ok
SKIP: Backend dogpile.cache.pylibmc not installed
SKIP: Backend dogpile.cache.pylibmc not installed
SKIP: Backend dogpile.cache.pylibmc not installed
test_backend_delete (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_backend_delete_nothing (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_backend_get_nothing (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_backend_set_get_value (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_decorated_fn_functionality (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_exploding_value_fn (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_creator (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_delete (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_delete_multiple (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_expire (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_get_empty_multiple (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_get_multiple_values (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_get_nothing_multiple (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_set_get_nothing (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_set_get_value (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_set_multiple_values (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_region_set_zero_multiple_values (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_threaded_dogpile (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_threaded_get_multi (tests.cache.test_memory_backend.MemoryBackendTest) ... ok
test_backend_delete (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_backend_delete_nothing (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_backend_get_nothing (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_backend_set_get_value (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_decorated_fn_functionality (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_exploding_value_fn (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_creator (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_delete (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_delete_multiple (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_expire (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_get_empty_multiple (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_get_multiple_values (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_get_nothing_multiple (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_set_get_nothing (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_set_get_value (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_set_multiple_values (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_region_set_zero_multiple_values (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_threaded_dogpile (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_threaded_get_multi (tests.cache.test_memory_backend.MemoryPickleBackendTest) ... ok
test_decorator (tests.cache.test_null_backend.NullBackendTest) ... ok
test_delete (tests.cache.test_null_backend.NullBackendTest) ... ok
test_delete_multi (tests.cache.test_null_backend.NullBackendTest) ... ok
test_get (tests.cache.test_null_backend.NullBackendTest) ... ok
test_get_multi (tests.cache.test_null_backend.NullBackendTest) ... ok
test_set (tests.cache.test_null_backend.NullBackendTest) ... ok
test_set_multi (tests.cache.test_null_backend.NullBackendTest) ... ok
SKIP: Backend dogpile.cache.redis not installed
SKIP: Backend dogpile.cache.redis not installed
SKIP: Backend dogpile.cache.redis not installed
test_argument_proxies (tests.cache.test_region.ProxyBackendTest) ... ok
test_counter_proxies (tests.cache.test_region.ProxyBackendTest) ... ok
test_instance_proxies (tests.cache.test_region.ProxyBackendTest) ... ok
test_creator (tests.cache.test_region.ProxyRegionTest) ... ok
test_datetime_expiration_time (tests.cache.test_region.ProxyRegionTest) ... ok
test_dupe_config (tests.cache.test_region.ProxyRegionTest) ... ok
test_expire (tests.cache.test_region.ProxyRegionTest) ... ok
test_expire_multi (tests.cache.test_region.ProxyRegionTest) ... ok
test_expire_on_get (tests.cache.test_region.ProxyRegionTest) ... ok
test_expire_override (tests.cache.test_region.ProxyRegionTest) ... ok
test_hard_invalidate_get (tests.cache.test_region.ProxyRegionTest) ... ok
test_hard_invalidate_get_or_create (tests.cache.test_region.ProxyRegionTest) ... ok
test_ignore_expire_on_get (tests.cache.test_region.ProxyRegionTest) ... ok
test_instance_from_config_string (tests.cache.test_region.ProxyRegionTest) ... ok
test_instance_from_dict (tests.cache.test_region.ProxyRegionTest) ... ok
test_key_mangler_argument (tests.cache.test_region.ProxyRegionTest) ... ok
test_key_mangler_impl (tests.cache.test_region.ProxyRegionTest) ... ok
test_multi_creator (tests.cache.test_region.ProxyRegionTest) ... ok
test_no_config (tests.cache.test_region.ProxyRegionTest) ... ok
test_override_expire_on_get (tests.cache.test_region.ProxyRegionTest) ... ok
test_reject_invalid_expiration_time (tests.cache.test_region.ProxyRegionTest) ... ok
test_remove (tests.cache.test_region.ProxyRegionTest) ... ok
test_set_get_nothing (tests.cache.test_region.ProxyRegionTest) ... ok
test_set_get_value (tests.cache.test_region.ProxyRegionTest) ... ok
test_set_name (tests.cache.test_region.ProxyRegionTest) ... ok
test_should_cache_fn (tests.cache.test_region.ProxyRegionTest) ... ok
test_should_cache_fn_multi (tests.cache.test_region.ProxyRegionTest) ... ok
test_should_delete_multiple_values (tests.cache.test_region.ProxyRegionTest) ... ok
test_should_get_multiple_values (tests.cache.test_region.ProxyRegionTest) ... ok
test_should_set_multiple_values (tests.cache.test_region.ProxyRegionTest) ... ok
test_soft_invalidate_get (tests.cache.test_region.ProxyRegionTest) ... ok
test_soft_invalidate_get_or_create (tests.cache.test_region.ProxyRegionTest) ... ok
test_soft_invalidate_get_or_create_multi (tests.cache.test_region.ProxyRegionTest) ... ok
test_soft_invalidate_requires_expire_time_get (tests.cache.test_region.ProxyRegionTest) ... ok
test_soft_invalidate_requires_expire_time_get_multi (tests.cache.test_region.ProxyRegionTest) ... ok
test_creator (tests.cache.test_region.RegionTest) ... ok
test_datetime_expiration_time (tests.cache.test_region.RegionTest) ... ok
test_dupe_config (tests.cache.test_region.RegionTest) ... ok
test_expire (tests.cache.test_region.RegionTest) ... ok
test_expire_multi (tests.cache.test_region.RegionTest) ... ok
test_expire_on_get (tests.cache.test_region.RegionTest) ... ok
test_expire_override (tests.cache.test_region.RegionTest) ... ok
test_hard_invalidate_get (tests.cache.test_region.RegionTest) ... ok
test_hard_invalidate_get_or_create (tests.cache.test_region.RegionTest) ... ok
test_ignore_expire_on_get (tests.cache.test_region.RegionTest) ... ok
test_instance_from_config_string (tests.cache.test_region.RegionTest) ... ok
test_instance_from_dict (tests.cache.test_region.RegionTest) ... ok
test_key_mangler_argument (tests.cache.test_region.RegionTest) ... ok
test_key_mangler_impl (tests.cache.test_region.RegionTest) ... ok
test_multi_creator (tests.cache.test_region.RegionTest) ... ok
test_no_config (tests.cache.test_region.RegionTest) ... ok
test_override_expire_on_get (tests.cache.test_region.RegionTest) ... ok
test_reject_invalid_expiration_time (tests.cache.test_region.RegionTest) ... ok
test_remove (tests.cache.test_region.RegionTest) ... ok
test_set_get_nothing (tests.cache.test_region.RegionTest) ... ok
test_set_get_value (tests.cache.test_region.RegionTest) ... ok
test_set_name (tests.cache.test_region.RegionTest) ... ok
test_should_cache_fn (tests.cache.test_region.RegionTest) ... ok
test_should_cache_fn_multi (tests.cache.test_region.RegionTest) ... ok
test_should_delete_multiple_values (tests.cache.test_region.RegionTest) ... ok
test_should_get_multiple_values (tests.cache.test_region.RegionTest) ... ok
test_should_set_multiple_values (tests.cache.test_region.RegionTest) ... ok
test_soft_invalidate_get (tests.cache.test_region.RegionTest) ... ok
test_soft_invalidate_get_or_create (tests.cache.test_region.RegionTest) ... ok
test_soft_invalidate_get_or_create_multi (tests.cache.test_region.RegionTest) ... ok
test_soft_invalidate_requires_expire_time_get (tests.cache.test_region.RegionTest) ... ok
test_soft_invalidate_requires_expire_time_get_multi (tests.cache.test_region.RegionTest) ... ok
test_coerce_string_conf (tests.cache.test_utils.UtilsTest) ... ok

======================================================================
FAIL: test_region_expire (tests.cache.test_dbm_backend.DBMBackendConditionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vic/projects/dogpile.cache/tests/cache/_fixtures.py", line 245, in test_region_expire
    eq_(reg.get("some key"), "some value 2")
  File "/home/vic/projects/dogpile.cache/tests/cache/__init__.py", line 10, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: <dogpile.cache.api.NoValue object at 0x7fa38771bf50> != 'some value 2'

======================================================================
FAIL: test_region_expire (tests.cache.test_dbm_backend.DBMBackendNoLockTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vic/projects/dogpile.cache/tests/cache/_fixtures.py", line 245, in test_region_expire
    eq_(reg.get("some key"), "some value 2")
  File "/home/vic/projects/dogpile.cache/tests/cache/__init__.py", line 10, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: <dogpile.cache.api.NoValue object at 0x7fa38771bf50> != 'some value 2'

======================================================================
FAIL: test_region_expire (tests.cache.test_dbm_backend.DBMBackendTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vic/projects/dogpile.cache/tests/cache/_fixtures.py", line 245, in test_region_expire
    eq_(reg.get("some key"), "some value 2")
  File "/home/vic/projects/dogpile.cache/tests/cache/__init__.py", line 10, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: <dogpile.cache.api.NoValue object at 0x7fa38771bf50> != 'some value 2'

----------------------------------------------------------------------
Ran 223 tests in 158.636s

FAILED (failures=3, skipped=13)

Comments (1)