File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import reys
2- from settings import BASE_DIR
1+ import re
2+
3+ from django .conf import settings
34from 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
76from auths import auth_joeblow , auth_wlo , auth_ietfchair , auth_ferrel
87
98capture_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 )
You can’t perform that action at this time.
0 commit comments