Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call NameLoad keyword Num keyword Num keyword Num keyword Num NameLoad Assign NameStore Call NameLoad Str keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call NameLoad keyword Num keyword Num keyword Num keyword Num NameLoad Assign NameStore Call NameLoad Str keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A os django test helpers CropdusterTestCaseMediaMixin cropduster.resizing Crop Box Size TestResizing N/A CropdusterTestCaseMediaMixin N/A test TestCase N/A test_off_by_one_bug N/A N/A self N/A N/A N/A img_path N/A N/A N/A os path join N/A self TEST_IMG_DIR best-fit-off-by-one-bug.png N/A crop N/A Crop N/A Box x1 0 y1 0 x2 960 y2 915 img_path N/A size N/A Size 960 w 960 h 594 N/A new_crop N/A N/A size fit_to_crop crop N/A N/A N/A self assertNotEqual N/A N/A new_crop box h 593 Calculated best fit height is 1 pixel too short N/A N/A N/A self assertEqual N/A N/A new_crop box h 594 N/A test_size_order_bug N/A N/A self N/A N/A N/A img_path N/A N/A N/A os path join N/A self TEST_IMG_DIR size-order-bug.png N/A crop N/A Crop N/A Box x1 160 y1 0 x2 800 y2 640 img_path N/A size N/A Size 650 w 650 min_h 250 N/A new_crop N/A N/A size fit_to_crop crop N/A N/A N/A self assertGreaterEqual N/A N/A new_crop box w 650 N/A Calculated best fit (%d) didn't get required width (650) N/A N/A new_crop box w N/A N/A