cwninja/geminabox — pull request #69 by dlindahl (2012-06-24 16:55:33+00:00)
Title: Fixed failing UnwritableDataDir test

The failing test in question was attempting to test for an unwritable directory, but the directory it was creating had read/write privileges (at least it did on my machine)

I added some setup/teardown functionality that changes the permissions to read-only before the test is run.

I also rearranged the logic in the API to test if the data directory exists before it checks if it is writable. Seemed like a more logical order to me.