test: fix apparent typo / tautological test (#8773)
Some checks failed
Build Base App Docker Image / publish (push) Has been cancelled
Build Celery Worker Docker Image / publish (push) Has been cancelled

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
This commit is contained in:
Jennifer Richards 2025-04-08 21:24:22 -03:00 committed by GitHub
parent f9ca030864
commit a728cf2440
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1440,7 +1440,7 @@ class TastypieApiTestCase(ResourceTestCaseMixin, TestCase):
resource_list = r.json()
for name in self.apps:
if not name in self.apps:
if not name in resource_list:
sys.stderr.write("Expected a REST API resource for %s, but didn't find one\n" % name)
for name in self.apps: