def test_permissions(self):
        annotation = factories.Annotation(username="test_user")
        assert "test_user" in annotation["permissions"]["admin"][0]
        assert "test_user" in annotation["permissions"]["update"][0]
        assert "test_user" in annotation["permissions"]["delete"][0]
dataset/ETHPy150Open hypothesis/h/h/test/factories_test.py/TestAnnotation.test_permissions/original