|
|
|
|
@ -96,5 +96,5 @@ def test_encrypt(settings, tmpdir, disconnect_signals, caplog):
|
|
|
|
|
caplog.set_level('DEBUG') |
|
|
|
|
gal = Gallery(settings) |
|
|
|
|
gal.build() |
|
|
|
|
assert caplog.messages[1].startswith('Loaded cache with') |
|
|
|
|
assert caplog.messages[2].startswith('Loaded encryption cache with') |
|
|
|
|
assert 'Loaded cache with 34 entries' in caplog.messages |
|
|
|
|
assert 'Loaded encryption cache with 27 entries' in caplog.messages |
|
|
|
|
|