diff setup.py @ 5210:ac5d236a995a

tests: improve robustness of notifications tests The notifications tests make the assumption that there are no notifications at the start of the test, which is explicitly asserted. However, any other test, like the one introduced in commit 9a23b444a7fe (pullrequests: detect invalid reviewers and raise HTTPBadRequest), could add new notifications to the database, and thus fail these assertions. Just like the notifications tests already cleaned all notifications at the end of the test (tearDown), make sure to clean them at the start (setUp) too.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Mon, 22 Jun 2015 14:56:01 +0200
parents d2b40b6508e8
children f6fcb21db7b3
line wrap: on
line diff