Module ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr ListComp Call NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad BoolOpOr AttributeLoad NameLoad attr NameLoad BoolOpOr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad BoolOpOr AttributeLoad NameLoad attr NameLoad BoolOpOr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A django.test.client RequestFactory raspberryio.project.tests.base ProjectBaseTestCase raspberryio.project.forms ProjectImageForm ProjectStepForm ProjectFormTestCase N/A ProjectBaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self request_factory N/A RequestFactory N/A N/A self project N/A N/A self create_project N/A test_placeholder_labels N/A N/A self N/A N/A N/A request N/A N/A N/A self request_factory get / N/A form N/A ProjectStepForm N/A N/A N/A self assertEqual N/A N/A N/A form fields N/A title label Title N/A N/A N/A form Meta remove_labels True N/A form N/A ProjectStepForm N/A request GET instance N/A self project N/A N/A N/A self assertEqual N/A N/A N/A form fields N/A title label N/A N/A ProjectStepFormTestCase N/A ProjectBaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self request_factory N/A RequestFactory N/A N/A self project N/A N/A self create_project N/A N/A self project_step N/A N/A self create_project_step project N/A self project N/A test_no_content N/A N/A self N/A N/A N/A request N/A N/A N/A self request_factory post / N/A N/A form N/A ProjectStepForm N/A request POST instance N/A self project_step N/A N/A N/A self assertFalse N/A N/A form is_valid N/A N/A N/A self assertEqual N/A N/A form errors N/A content N/A This field is required. N/A test_images_empty N/A N/A self N/A N/A N/A post_data N/A title content images N/A N/A self get_random_string N/A N/A self get_random_string N/A N/A request N/A N/A N/A self request_factory post / post_data N/A form N/A ProjectStepForm N/A request POST instance N/A self project_step N/A N/A N/A form is_valid N/A N/A project_step N/A N/A form save N/A N/A N/A self assertEqual N/A N/A N/A project_step gallery count 0 N/A N/A N/A N/A self fail Form should be valid N/A test_images_bad_format N/A N/A self N/A N/A N/A N/A N/A self create_project_image N/A post_data N/A title content images N/A N/A self get_random_string N/A N/A self get_random_string N/A not N/A request N/A N/A N/A self request_factory post / post_data N/A form N/A ProjectStepForm N/A request POST instance N/A self project_step N/A N/A N/A form is_valid N/A N/A project_step N/A N/A form save N/A N/A N/A self assertEqual N/A list N/A N/A N/A project_step gallery all N/A N/A N/A N/A N/A self fail Form should be valid N/A test_images_bad_ids N/A N/A self N/A N/A N/A N/A N/A self create_project_image N/A post_data N/A title content images N/A N/A self get_random_string N/A N/A self get_random_string N/A 99,100 N/A request N/A N/A N/A self request_factory post / post_data N/A form N/A ProjectStepForm N/A request POST instance N/A self project_step N/A N/A N/A form is_valid N/A N/A project_step N/A N/A form save N/A N/A N/A self assertEqual N/A list N/A N/A N/A project_step gallery all N/A N/A N/A N/A N/A self fail Form should be valid N/A test_images_valid N/A N/A self N/A N/A N/A project_image N/A N/A self create_project_image N/A post_data N/A title content images N/A N/A self get_random_string N/A N/A self get_random_string N/A N/A str N/A project_image id N/A request N/A N/A N/A self request_factory post / post_data N/A form N/A ProjectStepForm N/A request POST instance N/A self project_step N/A N/A N/A form is_valid N/A N/A project_step N/A N/A form save N/A N/A N/A self assertEqual N/A list N/A N/A N/A project_step gallery all N/A project_image N/A N/A N/A N/A self fail Form should be valid N/A test_multiple_images_valid N/A N/A self N/A N/A N/A project_image1 N/A N/A self create_project_image N/A project_image2 N/A N/A self create_project_image N/A project_images N/A project_image1 project_image2 N/A post_data N/A title content images N/A N/A self get_random_string N/A N/A self get_random_string N/A N/A , join N/A N/A str N/A image id N/A image project_images N/A request N/A N/A N/A self request_factory post / post_data N/A form N/A ProjectStepForm N/A request POST instance N/A self project_step N/A N/A N/A form is_valid N/A N/A project_step N/A N/A form save N/A N/A N/A self assertEqual N/A tuple N/A N/A N/A project_step gallery all project_images N/A N/A N/A N/A self fail Form should be valid N/A test_bad_video_url N/A N/A self N/A N/A N/A post_data N/A title content video N/A N/A self get_random_string N/A N/A self get_random_string http://example.com/badurl N/A request N/A N/A N/A self request_factory post / post_data N/A form N/A ProjectStepForm N/A request POST instance N/A self project_step N/A N/A N/A self assertFalse N/A N/A form is_valid N/A N/A ProjectImageFormTestCase N/A ProjectBaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self request_factory N/A RequestFactory N/A N/A self project N/A N/A self create_project N/A test_valid_file_upload N/A N/A self N/A N/A N/A filename N/A N/A self get_random_string N/A f N/A N/A self create_file filename filename N/A request N/A N/A N/A self request_factory post / N/A file f N/A N/A request is_ajax True N/A form N/A ProjectImageForm N/A request POST N/A request FILES N/A N/A N/A form is_valid N/A N/A instance N/A N/A form save N/A N/A N/A self assertEqual N/A N/A instance get_filename filename N/A N/A N/A N/A self fail Form should be valid N/A test_invalid_upload N/A N/A self N/A N/A N/A request N/A N/A N/A self request_factory post / N/A filez N/A N/A self create_file N/A N/A request is_ajax True N/A form N/A ProjectImageForm N/A N/A request POST None N/A N/A request FILES None N/A N/A N/A self assertFalse N/A N/A form is_valid N/A test_no_file N/A N/A self N/A N/A N/A request N/A N/A N/A self request_factory post / N/A N/A N/A request is_ajax True N/A form N/A ProjectImageForm N/A N/A request POST None N/A N/A request FILES None N/A N/A N/A self assertFalse N/A N/A form is_valid N/A N/A