Module ImportFrom alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore TupleLoad Num Num Assign NameStore TupleLoad Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call NameLoad NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign NameStore Dict Str ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Dict Str NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign NameStore Dict Str ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Dict Str NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign NameStore Dict Str ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Dict Str NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str decorator_list decorator_list
N/A os path N/A unittest N/A mocker PIL Image N/A StringIO django.core.urlresolvers reverse django_webtest WebTest django.conf settings django_factory_boy auth django.core.files.uploadedfile InMemoryUploadedFile N/A doubles N/A pkg_resources N/A PACKTOOLS_VERSION N/A N/A N/A pkg_resources get_distribution packtools version _get_test_xml_abspath N/A N/A filename N/A N/A N/A folder_path N/A settings PROJECT_PATH N/A folder_path N/A N/A N/A settings PROJECT_PATH split / N/A N/A N/A folder_path extend N/A validator tests xml_tests_files filename N/A N/A N/A / join folder_path N/A get_temporary_text_file N/A N/A N/A N/A N/A io N/A N/A StringIO StringIO N/A N/A N/A io write foo N/A text_file N/A InMemoryUploadedFile io field_name file name foo.txt content_type text size N/A io len charset utf8 N/A N/A N/A text_file seek 0 N/A text_file N/A get_temporary_image_file N/A N/A N/A N/A N/A io N/A N/A StringIO StringIO N/A size N/A 200 200 N/A color N/A 255 0 0 0 N/A image N/A N/A Image new RGBA size color N/A N/A N/A image save io format PNG N/A image_file N/A InMemoryUploadedFile io field_name file name foo.png content_type png size N/A io len charset None N/A N/A N/A image_file seek 0 N/A image_file N/A get_temporary_xml_file N/A N/A xml_abs_path N/A N/A N/A fp N/A open xml_abs_path N/A io N/A N/A StringIO StringIO N/A N/A fp read N/A N/A N/A fp close N/A xml_file N/A InMemoryUploadedFile io field_name file name foo.xml content_type text/xml size N/A io len charset utf8 N/A N/A N/A xml_file seek 0 N/A xml_file N/A ValidatorTests N/A WebTest N/A mocker MockerTestCase N/A test_access_unauthenticated_user N/A N/A self N/A N/A N/A response N/A N/A N/A self app get N/A reverse validator.packtools.stylechecker N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response validator/stylechecker.html N/A test_access_authenticated_user N/A N/A self N/A N/A N/A N/A self user N/A N/A auth UserF is_active True N/A response N/A N/A N/A self app get N/A reverse validator.packtools.stylechecker user N/A self user N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response validator/stylechecker.html N/A test_link_is_present_at_homepage N/A N/A self N/A N/A N/A response N/A N/A N/A self app get N/A reverse index N/A N/A N/A self assertEqual N/A response status_code 302 N/A response N/A N/A response follow N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response registration/login.html N/A expected_url N/A reverse validator.packtools.stylechecker N/A N/A N/A response mustcontain N/A href="%s" expected_url N/A test_submit_empty_form_is_not_valid N/A N/A self N/A N/A N/A page N/A N/A N/A self app get N/A reverse validator.packtools.stylechecker N/A form N/A N/A page forms N/A xml_upload_form N/A response N/A N/A form submit N/A N/A N/A self assertTemplateUsed response validator/stylechecker.html N/A N/A N/A self assertFalse N/A N/A N/A N/A response context N/A form is_valid N/A form_errors N/A N/A N/A response context N/A form errors N/A expected_errors N/A file N/A This field is required. N/A N/A N/A self assertEqual form_errors expected_errors N/A N/A N/A self assertFalse N/A hasattr N/A response context results N/A test_submit_text_file_then_form_not_valid N/A N/A self N/A N/A N/A 
        Submitting a text file will raise a from validation error
         N/A test_file N/A get_temporary_text_file N/A response N/A N/A N/A self client post N/A reverse validator.packtools.stylechecker N/A file test_file N/A form N/A N/A response context N/A form N/A N/A N/A self assertFalse N/A N/A N/A N/A response context N/A form is_valid N/A expected_errors N/A file N/A This type of file is not allowed! Please select another file. N/A N/A N/A self assertEqual N/A form errors expected_errors N/A test_submit_image_file_then_form_not_valid N/A N/A self N/A N/A N/A 
        Submitting a image file will raise a from validation error
         N/A test_file N/A get_temporary_image_file N/A response N/A N/A N/A self client post N/A reverse validator.packtools.stylechecker N/A file test_file N/A form N/A N/A response context N/A form N/A N/A N/A self assertFalse N/A N/A N/A N/A response context N/A form is_valid N/A expected_errors N/A file N/A This type of file is not allowed! Please select another file. N/A N/A N/A self assertEqual N/A form errors expected_errors N/A test_submit_valid_xml_file_then_get_annotations_form_valid N/A N/A self N/A N/A N/A 
        Submitting a xml file that generate annotations will let the form as valid,
        and xml validation will return annotations
         N/A stub_analyze_xml N/A N/A doubles make_stub_analyze_xml valid N/A mock_utils N/A N/A N/A self mocker replace validator.utils N/A N/A mock_utils analyze_xml N/A N/A N/A N/A self mocker result stub_analyze_xml N/A N/A N/A N/A self mocker replay N/A test_file_path N/A _get_test_xml_abspath with_style_errors.xml N/A test_file N/A get_temporary_xml_file test_file_path N/A response N/A N/A N/A self client post N/A reverse validator.packtools.stylechecker N/A file test_file N/A form N/A N/A response context N/A form N/A xml_exception N/A N/A response context N/A xml_exception N/A results N/A N/A response context N/A results N/A N/A N/A self assertTrue N/A N/A form is_valid N/A N/A N/A self assertTemplateUsed validator/stylechecker.html N/A N/A N/A self assertEqual N/A N/A results keys N/A validation_errors meta annotations N/A N/A