Pylons / pyramid_beaker

Beaker sessioning bindings for Pyramid
https://readthedocs.org/projects/pyramid-beaker/
Other
49 stars 23 forks source link

test_includeme fails with current pyramid #29

Open frispete opened 7 years ago

frispete commented 7 years ago

Testing this package with current pyramid results in:

[   12s] ======================================================================
[   12s] FAIL: test_includeme (pyramid_beaker.tests.TestIncludeMe)
[   12s] ----------------------------------------------------------------------
[   12s] Traceback (most recent call last):
[   12s]   File "/home/abuild/rpmbuild/BUILD/pyramid_beaker-0.8/pyramid_beaker/tests.py", line 356, in test_includeme
[   12s]     "<class 'pyramid_beaker.PyramidBeakerSessionObject'>")
[   12s] AssertionError: "<cla[14 chars]aker.BeakerSessionFactoryConfig.<locals>.Pyram[19 chars]ct'>" != "<cla[14 chars]aker.PyramidBeakerSessionObject'>"
[   12s] - <class 'pyramid_beaker.BeakerSessionFactoryConfig.<locals>.PyramidBeakerSessionObject'>
[   12s] + <class 'pyramid_beaker.PyramidBeakerSessionObject'>
[   12s] 

Is that to be expected?

snikaein commented 7 years ago

i fix this problem and add pull request