Code review comment for lp:~sil/desktopcouch/dc-load-design-docs

Revision history for this message
Stuart Langridge (sil) wrote :

> Traceback (most recent call last):
> File "/home/eric/canonical/desktopcouch/r-statik-
> sil/desktopcouch/tests/test_start_local_couchdb.py", line 132, in
> test_create_databases_and_design_docs
> mocker.verify()
> File "/home/eric/canonical/desktopcouch/r-statik-
> sil/desktopcouch/../contrib/mocker.py", line 503, in verify
> raise AssertionError(os.linesep.join(message))
> exceptions.AssertionError: [Mocker] Unmet expectations:
>
> => desktopcouch.records.server.CouchDatabase('cfg', create=True)
> - Performed fewer times than expected.

Now fixed; I needed to reimport xdg.BaseDirectory to make it notice the os.environ change.

« Back to merge proposal