Skip to content

Commit 26688aa

Browse files
committed
Changed back to standard TestCase to ensure confidence in tests. Removed duplicate tests. Adapted tests to new json_url() method signature. Corrected the /people/ urls to /person/.
- Legacy-Id: 6293
1 parent 72a19e2 commit 26688aa

6 files changed

Lines changed: 28 additions & 455 deletions

File tree

ietf/meeting/tests/agenda.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import sys
22
from django.test import Client
3-
from ietf.meeting.tests.ttest import AgendaTransactionalTestCase
3+
from django.test import TestCase
44
from ietf.name.models import SessionStatusName
55
from ietf.person.models import Person
66
from ietf.group.models import Group
77
from ietf.meeting.models import TimeSlot, Session, Meeting, ScheduledSession
88
from ietf.meeting.helpers import get_meeting, get_schedule
99

10-
class AgendaInfoTestCase(AgendaTransactionalTestCase):
10+
class AgendaInfoTestCase(TestCase):
1111
fixtures = [ 'names.xml', # ietf/names/fixtures/names.xml for MeetingTypeName, and TimeSlotTypeName
1212
'meeting83.json',
1313
'constraint83.json',
@@ -142,8 +142,8 @@ def test_AgendaInfoNamedSlotSessionsByArea(self):
142142

143143
def test_serialize_constraint(self):
144144
session1 = Session.objects.get(pk=2157)
145-
sitefqdn = "http://datatracker.ietf.org"
146-
json_dict = session1.constraints_dict(sitefqdn)
145+
host_scheme = "http://datatracker.ietf.org"
146+
json_dict = session1.constraints_dict(host_scheme)
147147
self.assertEqual(len(json_dict), 25)
148148

149149
def test_avtcore_has_two_slots(self):

0 commit comments

Comments
 (0)