unit test fix

This commit is contained in:
CocoByte 2025-01-22 17:30:19 -07:00
parent f56ccf95da
commit af1ccd625f
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -2222,7 +2222,7 @@ class TestRemovePortfolios(TestCase):
# Check that the unlisted portfolio was removed
self.assertEqual(Portfolio.objects.count(), 1)
self.assertFalse(Portfolio.objects.filter(organization_name="Test with orphaned objects").exists())
self.assertFalse(Portfolio.objects.filter(organization_name="Test with orphaned objects").exists())
self.assertFalse(Portfolio.objects.filter(organization_name="Test with suborg").exists())
self.assertTrue(Portfolio.objects.filter(organization_name="Department of Veterans Affairs").exists())
@patch("registrar.management.commands.utility.terminal_helper.TerminalHelper.query_yes_no")