From c6f55a330605f3930d07efee81fae85ea6c937eb Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Thu, 2 Jul 2020 20:05:02 +0000 Subject: [PATCH] Fixed some test scaffolding that used non-existent keys (uncovered by recent improvements in sqlite3 integrity checking). Commit ready for merge. - Legacy-Id: 18130 --- ietf/doc/tests.py | 4 ++-- ietf/group/tests.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ietf/doc/tests.py b/ietf/doc/tests.py index 57feadff8..c37d132c6 100644 --- a/ietf/doc/tests.py +++ b/ietf/doc/tests.py @@ -1056,9 +1056,9 @@ class DocTestCase(TestCase): self.assertNotIn('day', entry) april1 = IndividualRfcFactory.create( - stream_id = 'rse', + stream_id = 'ise', states = [('draft','rfc'),('draft-iesg','pub')], - std_level_id = 'ind', + std_level_id = 'inf', time = datetime.datetime(1990,0o4,0o1), ) num = april1.rfc_number() diff --git a/ietf/group/tests.py b/ietf/group/tests.py index 212cd2657..493a49c09 100644 --- a/ietf/group/tests.py +++ b/ietf/group/tests.py @@ -74,7 +74,7 @@ class GroupDocDependencyGraphTests(TestCase): set_coverage_checking(False) a = WgDraftFactory() b = WgDraftFactory() - RelatedDocument.objects.create(source=a,target=b.docalias.first(),relationship_id='normref') + RelatedDocument.objects.create(source=a,target=b.docalias.first(),relationship_id='refnorm') def tearDown(self): set_coverage_checking(True)