From 37c796ebef18be18c449b4fda410afef38d1b968 Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Mon, 6 Nov 2023 09:39:10 +0100 Subject: [PATCH] fix: repair ad-dashboard test --- ietf/doc/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/doc/tests.py b/ietf/doc/tests.py index f3cb8258c..13c4fdbbb 100644 --- a/ietf/doc/tests.py +++ b/ietf/doc/tests.py @@ -287,7 +287,7 @@ class SearchTests(TestCase): expected = defaultdict(lambda :0) for doc_type_name in doc_type_names: if doc_type_name=='draft': - states = State.objects.filter(type='draft-iesg', used=True).values_list('slug', flat=True) + states = State.objects.filter(type='draft-iesg', used=True).exclude(slug="rfc").values_list('slug', flat=True) else: states = State.objects.filter(type=doc_type_name, used=True).values_list('slug', flat=True)