KekLib.TestUtils#

TestUtils.py

Copyright (c) 2016-2019, Masatsuyo Takahashi, KEK-PF

OldPilatusImage(path, original_image=None)#
close_explorer(hwid)#
dnd_from_to(from_folder, dnd_obj_image, root, to_widget, screenshot_only=False)#
get_filesize(path)#

How to check file size in python? https://stackoverflow.com/questions/2104080/how-to-check-file-size-in-python

get_window_rect(hwid)#
max_diff(a, b)#

Elegant way to perform tuple arithmetic https://stackoverflow.com/questions/17418108/elegant-way-to-perform-tuple-arithmetic

max_diff_assert_lt(a, b, c)#
open_explorer(folder, at=None)#
set_window_pos(hwid, after, x, y, cx, cy, flags)#
single_screenshot(hwid, file)#