From 929eb0e77b217c84f85a1cd2c0b8f3982ef57921 Mon Sep 17 00:00:00 2001 From: Justin Drew <2396364+jdrew82@users.noreply.github.com> Date: Wed, 15 Jan 2025 13:55:45 -0600 Subject: [PATCH] =?UTF-8?q?test:=20=E2=9C=85=20Add=20skip=20to=20test=5Fas?= =?UTF-8?q?=5Fform()=20that's=20broken=20due=20to=20bug=20in=20core=20NB.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changes/659.housekeeping | 1 + nautobot_ssot/tests/test_jobs.py | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 changes/659.housekeeping diff --git a/changes/659.housekeeping b/changes/659.housekeeping new file mode 100644 index 00000000..825e1df9 --- /dev/null +++ b/changes/659.housekeeping @@ -0,0 +1 @@ +Temporarily disable test_as_form() test that's breaking CI until bug in core is fixed. \ No newline at end of file diff --git a/nautobot_ssot/tests/test_jobs.py b/nautobot_ssot/tests/test_jobs.py index de2f09cc..e23b3752 100644 --- a/nautobot_ssot/tests/test_jobs.py +++ b/nautobot_ssot/tests/test_jobs.py @@ -1,6 +1,7 @@ """Test the Job classes in nautobot_ssot.""" import os.path +from unittest import skip from unittest.mock import Mock, call, patch from django.db.utils import IntegrityError, OperationalError @@ -58,6 +59,8 @@ def test_sync_log(self): self.assertEqual(2, SyncLogEntry.objects.count()) + # TODO: Re-enable this test once the bug in core is fixed. + @skip def test_as_form(self): """Test the as_form() method.""" form = self.job.as_form()