def test_grant_user_bad_permission(self):
        user = make_user('foo', 'bar', False)
        self.db.add(user)
        transaction.commit()
        with self.assertRaises(ValueError):
            self.access.edit_user_permission('pkg1', 'foo', 'wiggle', True)
Attempting to grant a bad permission raises ValueError
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestSQLBackend.test_grant_user_bad_permission