Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Dict Str Dict Str ListLoad Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Dict Str ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore TupleLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A client.utils software_update N/A client N/A json N/A mock N/A unittest N/A urllib.error CheckVersionTest N/A N/A unittest TestCase N/A N/A SERVER test.server N/A PREVIOUS_VERSION v1.1.1 N/A CURRENT_VERSION v1.2.3 N/A CURRENT_DOWNLOAD_LINK download/link N/A FILE_NAME ok setUp N/A N/A self N/A N/A N/A N/A self patcherRequest N/A N/A mock patch urllib.request.Request N/A N/A N/A self addCleanup N/A N/A self patcherRequest stop N/A N/A self mockRequest N/A N/A N/A self patcherRequest start N/A N/A self patcherUrlopen N/A N/A mock patch urllib.request.urlopen N/A N/A N/A self addCleanup N/A N/A self patcherUrlopen stop N/A N/A self mockUrlopen N/A N/A N/A self patcherUrlopen start N/A N/A self mockRead N/A N/A N/A self mockUrlopen return_value read N/A N/A self mockDecode N/A N/A N/A N/A N/A self mockUrlopen return_value read return_value decode N/A N/A self patcherWriteZip N/A N/A mock patch client.utils.software_update._write_zip N/A N/A N/A self addCleanup N/A N/A self patcherWriteZip stop N/A N/A self mockWriteZip N/A N/A N/A self patcherWriteZip start N/A createVersionApiJson N/A N/A self current_version current_download_link N/A N/A N/A N/A N/A self mockDecode return_value N/A N/A json dumps N/A data N/A results N/A N/A current_version current_download_link current_version current_download_link N/A testMalformedApiResponse N/A N/A self N/A N/A N/A N/A N/A self mockDecode return_value N/A N/A json dumps N/A data N/A N/A N/A N/A self assertFalse N/A N/A software_update check_version N/A self SERVER N/A self CURRENT_VERSION N/A self FILE_NAME N/A testUpToDate N/A N/A self N/A N/A N/A N/A N/A self createVersionApiJson N/A self CURRENT_VERSION N/A self CURRENT_DOWNLOAD_LINK N/A N/A N/A self assertTrue N/A N/A software_update check_version N/A self SERVER N/A self CURRENT_VERSION N/A self FILE_NAME N/A N/A N/A self assertFalse N/A N/A self mockWriteZip called N/A testNeedsUpdate N/A N/A self N/A N/A N/A N/A N/A self createVersionApiJson N/A self CURRENT_VERSION N/A self CURRENT_DOWNLOAD_LINK N/A N/A N/A self assertTrue N/A N/A software_update check_version N/A self SERVER N/A self PREVIOUS_VERSION N/A self FILE_NAME N/A expected_zip_call N/A N/A N/A self FILE_NAME N/A N/A self mockRead return_value N/A N/A N/A self assertEqual expected_zip_call N/A N/A self mockWriteZip call_args N/A testWriteZip_IOError N/A N/A self N/A N/A N/A N/A N/A self createVersionApiJson N/A self CURRENT_VERSION N/A self CURRENT_DOWNLOAD_LINK N/A N/A N/A self mockWriteZip side_effect IOError N/A N/A N/A self assertFalse N/A N/A software_update check_version N/A self SERVER N/A self PREVIOUS_VERSION N/A self FILE_NAME N/A N/A N/A self assertTrue N/A N/A self mockWriteZip called N/A N/A