Mercurial > kallithea
diff docs/Makefile @ 5806:f33cc4af706b
tests: finally block also needs to be executed if api_call itself fails
The cleanup code (finally block) should be executed as soon as something what
changes the db fails.
I don't remember which one but one of these tests failed and caused all the
others to fail as well because the database wasn't cleaned up after the first
failure. That made finding the root cause more difficult then it should have
been.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Tue, 12 Apr 2016 22:45:46 +0200 |
parents | e73a69cb98dc |
children |