'This test would fail if permission is checked on a view\'s
object when it not set and **has** global permission'

def test_permission_granted_global_no_object(self):

    request = self.factory.get(u'/')
    request.user = self.user
    assign_perm(u'testapp.add_post', request.user)
    view = GlobalNoObjectView.as_view()
    with self.assertRaises(DatabaseRemovedError):
        view(request)
