From 1c60f55fffc08dea3793e05fdf7e42cbb56619e5 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Sat, 7 Dec 2013 19:28:56 +0000 Subject: [PATCH] Fix some includes in meeting test - Legacy-Id: 6842 --- ietf/meeting/tests/edit.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ietf/meeting/tests/edit.py b/ietf/meeting/tests/edit.py index ee3f7664a..e5771aa06 100644 --- a/ietf/meeting/tests/edit.py +++ b/ietf/meeting/tests/edit.py @@ -1,9 +1,8 @@ -import reys -from settings import BASE_DIR +import re + +from django.conf import settings from ietf.utils import TestCase -#from ietf.person.models import Person -from django.contrib.auth.models import User -from ietf.meeting.models import TimeSlot, Session, ScheduledSession +from ietf.meeting.models import TimeSlot, Session, ScheduledSession from auths import auth_joeblow, auth_wlo, auth_ietfchair, auth_ferrel capture_output = False @@ -24,7 +23,7 @@ class EditTestCase(TestCase): m = re.search(".*session_obj.*", resp.content) # to capture new output (and check it for correctness) if capture_output: - out = open("%s/meeting/tests/edit_out.html" % BASE_DIR, "w") + out = open("%s/meeting/tests/edit_out.html" % settings.BASE_DIR, "w") out.write(resp.content) out.close() self.assertIsNotNone(m)