Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Str keyword Str keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A django.core.urlresolvers resolve django.http HttpRequest django.http QueryDict django.test TestCase django.test Client django.contrib.auth.models User django.contrib.auth authenticate login logout django.contrib.auth.decorators login_required django.conf.urls.static static settings N/A json registrar.models Course registrar.models Teacher registrar.models Student registrar.models Policy student.views policy N/A TEST_USER_EMAIL ledo@gah.com N/A TEST_USER_USERNAME Ledo N/A TEST_USER_PASSWORD password PolicyTestCase N/A TestCase N/A tearDown N/A N/A self N/A N/A N/A policies N/A N/A N/A Policy objects all N/A policy policies N/A N/A N/A N/A policy delete N/A courses N/A N/A N/A Course objects all N/A course courses N/A N/A N/A N/A course delete N/A N/A N/A N/A N/A N/A User objects get email TEST_USER_EMAIL delete N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A User objects create_user email TEST_USER_EMAIL username TEST_USER_USERNAME password TEST_USER_PASSWORD N/A user N/A N/A N/A User objects get email TEST_USER_EMAIL N/A teacher N/A N/A N/A Teacher objects create user user N/A N/A N/A N/A N/A N/A Student objects create user user save N/A N/A N/A N/A Course objects create id 1 title Comics Book Course sub_title The definitive course on comics! category teacher teacher N/A get_logged_in_client N/A N/A self N/A N/A N/A client N/A Client N/A N/A N/A client login username TEST_USER_USERNAME password TEST_USER_PASSWORD N/A client N/A test_url_resolves_to_policy_page_view N/A N/A self N/A N/A N/A found N/A resolve /course/1/policy N/A N/A N/A self assertEqual N/A found func N/A policy policy_page N/A test_policy_page_with_correct_html N/A N/A self N/A N/A N/A client N/A N/A self get_logged_in_client N/A response N/A N/A client post /course/1/policy N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertIn Comics Book Course N/A response content N/A N/A N/A self assertIn <h1>Policy and Grades</h1> N/A response content N/A N/A