Skip to content

Commit 1c60f55

Browse files
committed
Fix some includes in meeting test
- Legacy-Id: 6842
1 parent 185149c commit 1c60f55

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

ietf/meeting/tests/edit.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import reys
2-
from settings import BASE_DIR
1+
import re
2+
3+
from django.conf import settings
34
from ietf.utils import TestCase
4-
#from ietf.person.models import Person
5-
from django.contrib.auth.models import User
6-
from ietf.meeting.models import TimeSlot, Session, ScheduledSession
5+
from ietf.meeting.models import TimeSlot, Session, ScheduledSession
76
from auths import auth_joeblow, auth_wlo, auth_ietfchair, auth_ferrel
87

98
capture_output = False
@@ -24,7 +23,7 @@ def test_getEditData(self):
2423
m = re.search(".*session_obj.*", resp.content)
2524
# to capture new output (and check it for correctness)
2625
if capture_output:
27-
out = open("%s/meeting/tests/edit_out.html" % BASE_DIR, "w")
26+
out = open("%s/meeting/tests/edit_out.html" % settings.BASE_DIR, "w")
2827
out.write(resp.content)
2928
out.close()
3029
self.assertIsNotNone(m)

0 commit comments

Comments
 (0)