diff --git a/trovi/api/tests.py b/trovi/api/tests.py index ac6981f..6a091d4 100644 --- a/trovi/api/tests.py +++ b/trovi/api/tests.py @@ -2,6 +2,7 @@ import json import os import random +from unittest import skipIf import uuid from django.conf import settings @@ -949,6 +950,7 @@ def test_link_to_non_existent_artifact(self): response.status_code, status.HTTP_404_NOT_FOUND, msg=response.content ) + @skipIf("sqlite" in os.getenv("DB_ENGINE"), "This test fails locally due to a difference with the sqlite3 engine") def test_non_unique_artifact_contents(self): example = self.example_version.copy() example["contents"]["urn"] = version_don_quixote_1.contents_urn