How to use enabled method in pytest-benchmark

Best Python code snippet using pytest-benchmark

config.py

Source:config.py Github

copy

Full Screen

1# Copyright (C) 2016-2017 Cuckoo Foundation.2# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org3# See the file 'docs/LICENSE' for copying permission.4from cuckoo.common.config import cast5def _041_042(c):6 c["cuckoo"]["cuckoo"]["analysis_size_limit"] = 1048576007 c["virtualbox"]["virtualbox"]["timeout"] = 3008 c["vmware"] = {9 "vmware": {10 "mode": "gui",11 "path": "/usr/bin/vmrun",12 "machines": ["cuckoo1"],13 },14 "cuckoo1": {15 "label": "../vmware-xp3.vmx,Snapshot1",16 "platform": "windows",17 "ip": "192.168.54.111",18 },19 }20 return c21def _042_050(c):22 analysis_timeout = c["cuckoo"]["cuckoo"].pop("analysis_timeout", None)23 critical_timeout = c["cuckoo"]["cuckoo"].pop("critical_timeout", None)24 c["cuckoo"]["cuckoo"]["version_check"] = True25 c["cuckoo"]["cuckoo"]["memory_dump"] = False26 c["cuckoo"]["processing"] = {27 "analysis_size_limit": c["cuckoo"]["cuckoo"].pop(28 "analysis_size_limit", None29 ),30 "resolve_dns": True,31 }32 c["cuckoo"]["database"] = {33 "connection": None,34 "timeout": None,35 }36 timeout = c["virtualbox"]["virtualbox"].pop("timeout", None)37 c["cuckoo"]["timeouts"] = {38 "default": cast("cuckoo:timeouts:default", analysis_timeout),39 "critical": cast("cuckoo:timeouts:critical", critical_timeout),40 "vm_state": cast("cuckoo:timeouts:vm_state", timeout),41 }42 sniffer = c["cuckoo"]["cuckoo"].pop("use_sniffer", None)43 c["cuckoo"]["sniffer"] = {44 "enabled": sniffer,45 "tcpdump": "/usr/sbin/tcpdump",46 "interface": "vboxnet0",47 "bpf": None,48 }49 c["cuckoo"]["graylog"] = {50 "enabled": False,51 "host": "localhost",52 "port": 12201,53 "level": "error",54 }55 return c56def _050_060(c):57 c["cuckoo"]["resultserver"] = {58 "ip": "192.168.56.1",59 "port": 2042,60 "store_csvs": False,61 "upload_max_size": 10485760,62 }63 c["processing"] = {64 "analysisinfo": {65 "enabled": True,66 },67 "behavior": {68 "enabled": True,69 },70 "debug": {71 "enabled": True,72 },73 "dropped": {74 "enabled": True,75 },76 "network": {77 "enabled": True,78 },79 "static": {80 "enabled": True,81 },82 "strings": {83 "enabled": True,84 },85 "targetinfo": {86 "enabled": True,87 },88 "virustotal": {89 "enabled": True,90 "key": "a0283a2c3d55728300d064874239b5346fb991317e8449fe43c902879d758088",91 },92 }93 return c94def _060_100(c):95 c["auxiliary"] = {96 "sniffer": {97 "enabled": cast(98 "auxiliary:sniffer:enabled",99 c["cuckoo"]["sniffer"]["enabled"]100 ),101 "tcpdump": c["cuckoo"]["sniffer"]["tcpdump"],102 "interface": c["cuckoo"]["sniffer"]["interface"],103 "bpf": c["cuckoo"]["sniffer"].get("bpf"),104 },105 }106 c["cuckoo"].pop("sniffer", None)107 c["cuckoo"]["cuckoo"]["delete_bin_copy"] = False108 machinery = c["cuckoo"]["cuckoo"].pop("machine_manager", None)109 c["cuckoo"]["cuckoo"]["machinery"] = machinery110 c["cuckoo"]["cuckoo"]["reschedule"] = False111 c["cuckoo"]["cuckoo"]["process_results"] = True112 c["cuckoo"]["cuckoo"]["max_analysis_count"] = 0113 c["cuckoo"]["cuckoo"]["freespace"] = 64114 c["cuckoo"].pop("graylog", None)115 c["esx"] = {116 "esx": {117 "dsn": "esx://127.0.0.1/?no_verify=1",118 "username": "username_goes_here",119 "password": "password_goes_here",120 "machines": ["analysis1"],121 },122 "analysis1": {123 "label": "cuckoo1",124 "platform": "windows",125 "snapshot": "clean_snapshot",126 "ip": "192.168.122.105",127 }128 }129 c["memory"] = {130 "basic": {131 "guest_profile": "WinXPSP2x86",132 "delete_memdump": False,133 },134 "malfind": {135 "enabled": True,136 "filter": True,137 },138 "apihooks": {139 "enabled": False,140 "filter": True,141 },142 "pslist": {143 "enabled": True,144 "filter": False,145 },146 "psxview": {147 "enabled": True,148 "filter": False,149 },150 "callbacks": {151 "enabled": True,152 "filter": False,153 },154 "idt": {155 "enabled": True,156 "filter": False,157 },158 "timers": {159 "enabled": True,160 "filter": False,161 },162 "messagehooks": {163 "enabled": False,164 "filter": False,165 },166 "getsids": {167 "enabled": True,168 "filter": False,169 },170 "privs": {171 "enabled": True,172 "filter": False,173 },174 "dlllist": {175 "enabled": True,176 "filter": True,177 },178 "handles": {179 "enabled": True,180 "filter": True,181 },182 "ldrmodules": {183 "enabled": True,184 "filter": True,185 },186 "mutantscan": {187 "enabled": True,188 "filter": True,189 },190 "devicetree": {191 "enabled": True,192 "filter": True,193 },194 "svcscan": {195 "enabled": True,196 "filter": True,197 },198 "modscan": {199 "enabled": True,200 "filter": True,201 },202 "mask": {203 "enabled": False,204 "pid_generic": None,205 },206 }207 c["processing"]["memory"] = {208 "enabled": False,209 }210 c["reporting"].pop("pickled", None)211 c["reporting"]["mmdef"] = {212 "enabled": False,213 }214 c["reporting"].pop("metadata", None)215 c["reporting"].pop("maec11", None)216 c["reporting"]["maec41"] = {217 "enabled": False,218 "mode": "overview",219 "processtree": True,220 "output_handles": False,221 "static": True,222 "strings": True,223 "virustotal": True,224 }225 c["reporting"]["mongodb"]["host"] = "127.0.0.1"226 c["reporting"]["mongodb"]["port"] = 27017227 for machine in c["vmware"]["vmware"]["machines"]:228 label, snapshot = c["vmware"][machine]["label"].split(",", 1)229 c["vmware"][machine]["label"] = label230 c["vmware"][machine]["snapshot"] = snapshot231 return c232def _100_110(c):233 c["cuckoo"]["cuckoo"]["tmppath"] = "/tmp"234 return c235def _111_120(c):236 c["cuckoo"]["cuckoo"]["terminate_processes"] = False237 c["cuckoo"]["cuckoo"]["max_machines_count"] = 0238 c["cuckoo"]["processing"]["sort_pcap"] = True239 c["memory"]["yarascan"] = {240 "enabled": True,241 "filter": True,242 }243 c["memory"]["ssdt"] = {244 "enabled": True,245 "filter": True,246 }247 c["memory"]["gdt"] = {248 "enabled": True,249 "filter": True,250 }251 c["physical"] = {252 "physical": {253 "machines": ["physical1"],254 "user": "username",255 "password": "password",256 },257 "physical1": {258 "label": "physical1",259 "platform": "windows",260 "ip": "192.168.56.101",261 }262 }263 c["processing"]["procmemory"] = {264 "enabled": True,265 }266 c["processing"]["virustotal"]["timeout"] = 60267 c["reporting"]["jsondump"]["indent"] = 4268 c["reporting"]["jsondump"]["encoding"] = "latin-1"269 c["reporting"]["mongodb"]["db"] = "cuckoo"270 c["reporting"]["mongodb"]["store_memdump"] = True271 c["reporting"].pop("hpfclient", None)272 for machine in c["vmware"]["vmware"]["machines"]:273 c["vmware"][machine]["vmx_path"] = (274 c["vmware"][machine].pop("label", None)275 )276 c["xenserver"] = {277 "xenserver": {278 "user": "root",279 "password": "changeme",280 "url": "https://xenserver",281 "machines": ["cuckoo1"],282 },283 "cuckoo1": {284 "uuid": "00000000-0000-0000-0000-000000000000",285 "platform": "windows",286 "ip": "192.168.54.111",287 }288 }289 return c290def _120_20c1(c):291 interface = c["auxiliary"]["sniffer"].pop("interface", "vboxnet0")292 c["auxiliary"]["mitm"] = {293 "enabled": False,294 "mitmdump": "/usr/local/bin/mitmdump",295 "port_base": 50000,296 "script": "data/mitm.py",297 "certificate": "bin/cert.p12",298 }299 c["auxiliary"]["services"] = {300 "enabled": False,301 "services": "honeyd",302 "timeout": 0,303 }304 c["avd"] = {305 "avd": {306 "mode": "headless",307 "emulator_path": "/home/cuckoo/android-sdk-linux/tools/emulator",308 "adb_path": "/home/cuckoo/android-sdk-linux/platform-tools/adb",309 "avd_path": "/home/cuckoo/.android/avd",310 "reference_machine": "cuckoo-bird",311 "machines": ["cuckoo1"],312 },313 "cuckoo1": {314 "label": "cuckoo1",315 "platform": "android",316 "ip": "127.0.0.1",317 "emulator_port": 5554,318 "resultserver_ip": "10.0.2.2",319 "resultserver_port": 2042,320 },321 }322 c["cuckoo"]["cuckoo"]["max_vmstartup_count"] = 10323 c["cuckoo"]["cuckoo"]["rooter"] = "/tmp/cuckoo-rooter"324 c["cuckoo"]["routing"] = {325 "route": "none",326 "internet": "none",327 }328 c["cuckoo"]["resultserver"].pop("store_csvs", None)329 if c["cuckoo"]["timeouts"]["vm_state"] == 300:330 c["cuckoo"]["timeouts"]["vm_state"] = 60331 c["esx"]["esx"]["interface"] = "eth0"332 c["kvm"]["kvm"]["interface"] = "virbr0"333 c["memory"]["sockscan"] = {334 "enabled": True,335 "filter": False,336 }337 c["memory"]["netscan"] = {338 "enabled": True,339 "filter": False,340 }341 c["physical"]["physical"]["interface"] = "eth0"342 c["physical"]["fog"] = {343 "hostname": "none",344 "username": "fog",345 "password": "password",346 }347 c["processing"]["apkinfo"] = {348 "enabled": False,349 "decompilation_threshold": 5000000,350 }351 c["processing"]["baseline"] = {352 "enabled": False,353 }354 c["processing"]["buffer"] = {355 "enabled": True,356 }357 c["processing"]["droidmon"] = {358 "enabled": False,359 }360 c["processing"]["dumptls"] = {361 "enabled": True,362 }363 c["processing"]["googleplay"] = {364 "enabled": False,365 "android_id": None,366 "google_login": None,367 "google_password": None,368 }369 c["processing"]["procmemory"]["idapro"] = False370 c["processing"]["screenshots"] = {371 "enabled": False,372 "tesseract": "/usr/bin/tesseract",373 }374 c["processing"]["snort"] = {375 "enabled": False,376 "snort": "/usr/local/bin/snort",377 "conf": "/etc/snort/snort.conf",378 }379 c["processing"]["suricata"] = {380 "enabled": False,381 "suricata": "/usr/bin/suricata",382 "conf": "/etc/suricata/suricata.yaml",383 "eve_log": "eve.json",384 "files_log": "files-json.log",385 "files_dir": "files",386 "socket": None,387 }388 c["processing"]["virustotal"]["scan"] = False389 c["qemu"] = {390 "qemu": {391 "path": "/usr/bin/qemu-system-x86_64",392 "machines": ["vm1", "vm2"],393 "interface": "qemubr",394 },395 "vm1": {396 "label": "vm1",397 "image": "/home/rep/vms/qvm_wheezy64_1.qcow2",398 "platform": "linux",399 "ip": "192.168.55.2",400 "interface": "qemubr",401 "resultserver_ip": "192.168.55.1",402 "tags": "debian_wheezy,64_bit",403 },404 "vm2": {405 "label": "vm2",406 "image": "/home/rep/vms/qvm_wheezy64_1.qcow2",407 "arch": "mipsel",408 "kernel_path": "{imagepath}/vmlinux-3.16.0-4-4kc-malta-mipsel",409 "platform": "linux",410 "ip": "192.168.55.3",411 "interface": "qemubr",412 "tags": "debian_wheezy,mipsel",413 },414 }415 c["reporting"]["jsondump"]["calls"] = True416 c["reporting"].pop("mmdef", None)417 c["reporting"].pop("maec41", None)418 c["reporting"]["reporthtml"]["enabled"] = False419 c["reporting"]["mongodb"]["paginate"] = 100420 c["reporting"]["moloch"] = {421 "enabled": False,422 "host": None,423 "moloch_capture": "/data/moloch/bin/moloch-capture",424 "conf": "/data/moloch/etc/config.ini",425 "instance": "cuckoo",426 }427 c["virtualbox"]["virtualbox"]["mode"] = "headless"428 c["virtualbox"]["virtualbox"]["interface"] = interface429 c["virtualbox"]["honeyd"] = {430 "label": "honeyd",431 "platform": "linux",432 "ip": "192.168.56.102",433 "tags": "service, honeyd",434 "options": "nictrace noagent",435 }436 c["vmware"]["vmware"]["interface"] = "virbr0"437 c["vpn"] = {438 "vpn": {439 "enabled": False,440 "vpns": "vpn0",441 },442 "vpn0": {443 "name": "vpn0",444 "description": "Spain, Europe",445 "interface": "tun0",446 },447 }448 c["vsphere"] = {449 "vsphere": {450 "host": "10.0.0.1",451 "port": 443,452 "user": "username_goes_here",453 "pwd": "password_goes_here",454 "machines": ["analysis1"],455 "interface": "eth0",456 },457 "analysis1": {458 "label": "cuckoo1",459 "platform": "windows",460 "snapshot": "cuckoo_ready_running",461 "ip": "192.168.1.1",462 },463 }464 c["xenserver"]["xenserver"]["interface"] = "virbr0"465 return c466def _20c1_20c2(c):467 c["auxiliary"]["reboot"] = {468 "enabled": True,469 }470 c["cuckoo"]["routing"]["rt_table"] = "main"471 c["cuckoo"]["routing"]["auto_rt"] = True472 c["cuckoo"]["resultserver"]["force_port"] = False473 if c["cuckoo"]["timeouts"]["critical"] == 600:474 c["cuckoo"]["timeouts"]["critical"] = 60475 c["processing"]["misp"] = {476 "enabled": False,477 "url": None,478 "apikey": None,479 "maxioc": 100,480 }481 c["processing"]["network"]["whitelist-dns"] = False482 c["processing"]["network"]["allowed-dns"] = None483 c["processing"]["procmemory"]["extract_img"] = True484 c["processing"]["procmemory"]["dump_delete"] = False485 c["processing"]["procmon"] = {486 "enabled": True,487 }488 c["processing"]["static"]["pdf_timeout"] = 60489 c["processing"]["irma"] = {490 "enabled": False,491 "timeout": 60,492 "scan": False,493 "force": False,494 "url": None,495 }496 c["reporting"]["elasticsearch"] = {497 "enabled": False,498 "hosts": "127.0.0.1",499 "calls": False,500 "index": "cuckoo",501 "index_time_pattern": "yearly",502 "cuckoo_node": None,503 }504 c["reporting"]["notification"] = {505 "enabled": False,506 "url": None,507 "identifier": None,508 }509 c["reporting"]["mattermost"] = {510 "enabled": False,511 "username": "cuckoo",512 "url": None,513 "myurl": None,514 "show-virustotal": False,515 "show-signatures": False,516 "show-urls": False,517 "hash-filename": False,518 }519 c["vpn"]["vpn"].pop("auto_rt", None)520 for vpn in c["vpn"]["vpn"]["vpns"].split(","):521 if not vpn.strip():522 continue523 c["vpn"][vpn.strip()]["rt_table"] = c["vpn"][vpn.strip()]["interface"]524 return c525def _20c2_200(c):526 if c["auxiliary"]["mitm"]["script"] == "data/mitm.py":527 c["auxiliary"]["mitm"]["script"] = "mitm.py"528 if c["cuckoo"]["cuckoo"]["freespace"] == 64:529 c["cuckoo"]["cuckoo"]["freespace"] = 1024530 if c["cuckoo"]["cuckoo"]["tmppath"] == "/tmp":531 c["cuckoo"]["cuckoo"]["tmppath"] = None532 if c["cuckoo"]["processing"]["analysis_size_limit"] == 100*1024*1024:533 c["cuckoo"]["processing"]["analysis_size_limit"] = 128*1024*1024534 if c["cuckoo"]["resultserver"]["upload_max_size"] == 10*1024*1024:535 c["cuckoo"]["resultserver"]["upload_max_size"] = 128*1024*1024536 c["cuckoo"]["feedback"] = {537 "enabled": False,538 "name": None,539 "company": None,540 "email": None,541 }542 c["processing"]["network"]["whitelist_dns"] = cast(543 "processing:network:whitelist_dns",544 c["processing"]["network"].pop("whitelist-dns", None)545 )546 c["processing"]["network"]["allowed_dns"] = cast(547 "processing:network:allowed_dns",548 c["processing"]["network"].pop("allowed-dns", None)549 )550 c["processing"]["procmemory"]["extract_dll"] = False551 # If default key, disable VirusTotal by default.552 if c["processing"]["virustotal"]["key"] == "a0283a2c3d55728300d064874239b5346fb991317e8449fe43c902879d758088":553 c["processing"]["virustotal"]["enabled"] = False554 for vm in c["qemu"]:555 if "kernel_path" in c["qemu"][vm]:556 c["qemu"][vm]["kernel"] = c["qemu"][vm].pop("kernel_path")557 if c["qemu"]["qemu"]["machines"] == ["vm1", "vm2"]:558 c["qemu"]["qemu"]["machines"].append("vm3")559 c["qemu"]["vm3"] = {560 "label": "vm3",561 "image": "/home/rep/vms/qvm_wheezy64_1.qcow2",562 "arch": "arm",563 "platform": "linux",564 "ip": "192.168.55.4",565 "interface": "qemubr",566 "tags": "debian_wheezy,arm",567 "kernel": "{imagepath}/vmlinuz-3.2.0-4-versatile-arm",568 "initrd": "{imagepath}/initrd-3.2.0-4-versatile-arm",569 }570 c["reporting"]["elasticsearch"]["hosts"] = cast(571 "reporting:elasticsearch:hosts",572 c["reporting"]["elasticsearch"]["hosts"]573 )574 c["reporting"]["elasticsearch"]["timeout"] = 300575 c["reporting"]["feedback"] = {576 "enabled": False,577 }578 c["reporting"]["jsondump"].pop("encoding")579 c["reporting"]["misp"] = {580 "enabled": False,581 "url": None,582 "apikey": None,583 "mode": "maldoc ipaddr hashes url",584 }585 c["reporting"]["mattermost"]["hash_url"] = False586 old_items = (587 "show-virustotal", "show-signatures", "show-urls", "hash-filename",588 )589 for old_item in old_items:590 new_item = old_item.replace("-", "_")591 c["reporting"]["mattermost"][new_item] = cast(592 "reporting:mattermost:%s" % new_item,593 c["reporting"]["mattermost"].pop(old_item, False)594 )595 c["reporting"]["moloch"]["insecure"] = False596 c["reporting"]["mongodb"]["username"] = None597 c["reporting"]["mongodb"]["password"] = None598 if "url" not in c["reporting"]["notification"]:599 c["reporting"]["notification"]["url"] = None600 c["reporting"]["singlefile"] = {601 "enabled": cast(602 "reporting:singlefile:enabled",603 c["reporting"]["reporthtml"]["enabled"]604 ),605 "html": cast(606 "reporting:singlefile:html",607 c["reporting"]["reporthtml"]["enabled"]608 ),609 "pdf": False,610 }611 c["reporting"].pop("reporthtml")612 c["routing"] = {613 "routing": {614 "drop": False,615 },616 "inetsim": {617 "enabled": False,618 "server": "192.168.56.1",619 },620 "tor": {621 "enabled": False,622 "dnsport": 5353,623 "proxyport": 9040,624 },625 "vpn": {626 "enabled": cast(627 "routing:vpn:enabled", c["vpn"]["vpn"].pop("enabled", None)628 ),629 "vpns": [],630 },631 }632 for item in ("route", "internet", "rt_table", "auto_rt"):633 c["routing"]["routing"][item] = cast(634 "routing:routing:%s" % item, c["cuckoo"]["routing"].pop(item, None)635 )636 for vpn in c["vpn"]["vpn"]["vpns"].split(","):637 if not vpn.strip():638 continue639 c["routing"]["vpn"]["vpns"].append(vpn.strip())640 c["routing"][vpn.strip()] = c["vpn"].pop(vpn.strip(), None)641 c.pop("vpn", None)642 c["vsphere"]["vsphere"]["unverified_ssl"] = False643 return c644def _200_201(c):645 c["memory"]["mask"]["pid_generic"] = cast(646 "memory:mask:pid_generic", c["memory"]["mask"]["pid_generic"]647 )648 return c649def _201_202(c):650 machineries = (651 "virtualbox", "avd", "esx", "kvm", "physical", "qemu", "vmware",652 "vsphere", "xenserver",653 )654 for machinery in machineries:655 for machine in c[machinery][machinery]["machines"]:656 c[machinery][machine]["osprofile"] = None657 return c658migrations = {659 "0.4.0": ("0.4.1", None),660 "0.4.1": ("0.4.2", _041_042),661 "0.4.2": ("0.5.0", _042_050),662 "0.5.0": ("0.6.0", _050_060),663 "0.6.0": ("1.0.0", _060_100),664 "1.0.0": ("1.1.0", _100_110),665 "1.1.0": ("1.1.1", None),666 "1.1.1": ("1.2.0", _111_120),667 "1.2.0": ("2.0-rc1", _120_20c1),668 "2.0-rc1": ("2.0-rc2", _20c1_20c2),669 "2.0-rc2": ("2.0.0", _20c2_200),670 "2.0.0": ("2.0.1", _200_201),671 "2.0.1": ("2.0.2", _201_202),672 # We're also capable of migrating away from 2.0-dev which basically means673 # that we might have to a partial migration from either 2.0-rc2 or 2.0-rc1.674 # TODO Most likely we'll have to work out some tweaks in the migrations.675 # TODO Provide the option to push out feedback to the Core Developers if676 # an exception occurs during the configuration migration phase.677 "2.0-dev": ("1.2.0", None),678}679# Mapping from actual version numbers to "full" / beautified version numbers.680mapping = {681 "0.4": "0.4.0", "0.5": "0.5.0", "0.6": "0.6.0", "1.0": "1.0.0",682 "1.1": "1.1.0", "1.2": "1.2.0",683}684def migrate(c, current, to=None):685 """Upgrade the configuration 'c' from 'current' to 'to'."""686 while current != to and mapping.get(current, current) in migrations:687 current, migration = migrations[mapping.get(current, current)]688 c = migration(c) if migration else c...

Full Screen

Full Screen

wscript_build

Source:wscript_build Github

copy

Full Screen

1#!/usr/bin/env python2VFS_DEFAULT_SRC = '''vfs_default.c'''3VFS_AUDIT_SRC = '''vfs_audit.c'''4VFS_EXTD_AUDIT_SRC = '''vfs_extd_audit.c'''5VFS_FULL_AUDIT_SRC = '''vfs_full_audit.c'''6VFS_FAKE_PERMS_SRC = '''vfs_fake_perms.c'''7VFS_RECYCLE_SRC = '''vfs_recycle.c'''8VFS_NETATALK_SRC = '''vfs_netatalk.c'''9VFS_DEFAULT_QUOTA_SRC = '''vfs_default_quota.c'''10VFS_READONLY_SRC = '''vfs_readonly.c getdate.c'''11VFS_CAP_SRC = '''vfs_cap.c'''12VFS_EXPAND_MSDFS_SRC = '''vfs_expand_msdfs.c'''13VFS_SHADOW_COPY_SRC = '''vfs_shadow_copy.c'''14VFS_SHADOW_COPY2_SRC = '''vfs_shadow_copy2.c'''15VFS_AFSACL_SRC = '''vfs_afsacl.c'''16VFS_XATTR_TDB_SRC = '''vfs_xattr_tdb.c'''17VFS_POSIXACL_SRC = '''vfs_posixacl.c'''18VFS_AIXACL_SRC = '''vfs_aixacl.c'''19VFS_AIXACL2_SRC = '''vfs_aixacl2.c'''20VFS_SOLARISACL_SRC = '''vfs_solarisacl.c'''21VFS_ZFSACL_SRC = '''vfs_zfsacl.c'''22VFS_HPUXACL_SRC = '''vfs_hpuxacl.c'''23VFS_IRIXACL_SRC = '''vfs_irixacl.c'''24VFS_TRU64ACL_SRC = '''vfs_tru64acl.c'''25VFS_CATIA_SRC = 'vfs_catia.c'26VFS_STREAMS_XATTR_SRC = 'vfs_streams_xattr.c'27VFS_STREAMS_DEPOT_SRC = 'vfs_streams_depot.c'28VFS_CACHEPRIME_SRC = 'vfs_cacheprime.c'29VFS_PREALLOC_SRC = 'vfs_prealloc.c'30VFS_COMMIT_SRC = 'vfs_commit.c'31VFS_GPFS_SRC = 'vfs_gpfs.c gpfs.c'32VFS_GPFS_HSM_NOTIFY_SRC = 'vfs_gpfs_hsm_notify.c'33VFS_NOTIFY_FAM_SRC = 'vfs_notify_fam.c'34VFS_READAHEAD_SRC = 'vfs_readahead.c'35VFS_TSMSM_SRC = 'vfs_tsmsm.c'36VFS_FILEID_SRC = 'vfs_fileid.c'37VFS_AIO_FORK_SRC = 'vfs_aio_fork.c'38VFS_PREOPEN_SRC = 'vfs_preopen.c'39VFS_SYNCOPS_SRC = 'vfs_syncops.c'40VFS_ACL_XATTR_SRC = 'vfs_acl_xattr.c'41VFS_ACL_TDB_SRC = 'vfs_acl_tdb.c'42VFS_SMB_TRAFFIC_ANALYZER_SRC = 'vfs_smb_traffic_analyzer.c'43VFS_ONEFS_SRC = '''vfs_onefs.c onefs_acl.c onefs_system.c44 onefs_open.c onefs_streams.c onefs_dir.c45 onefs_cbrl.c onefs_notify.c onefs_config.c'''46VFS_ONEFS_SHADOW_COPY_SRC = 'vfs_onefs_shadow_copy.c onefs_shadow_copy.c'47VFS_DIRSORT_SRC = 'vfs_dirsort.c'48VFS_SCANNEDONLY_SRC = 'vfs_scannedonly.c'49VFS_CROSSRENAME_SRC = 'vfs_crossrename.c'50VFS_LINUX_XFS_SGID_SRC = 'vfs_linux_xfs_sgid.c'51VFS_TIME_AUDIT_SRC = 'vfs_time_audit.c'52bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',53 source='nfs4_acls.c')54bld.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL',55 source='vfs_aixacl_util.c',56 enabled=False) #fixme57bld.SAMBA3_SUBSYSTEM('vfs',58 source='',59 deps='',60 vars=locals())61bld.SAMBA3_MODULE('vfs_default',62 subsystem='vfs',63 source=VFS_DEFAULT_SRC,64 init_function='',65 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default'),66 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default'))67bld.SAMBA3_MODULE('vfs_audit',68 subsystem='vfs',69 source=VFS_AUDIT_SRC,70 init_function='',71 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_audit'),72 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_audit'))73bld.SAMBA3_MODULE('vfs_extd_audit',74 subsystem='vfs',75 source=VFS_EXTD_AUDIT_SRC,76 init_function='',77 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_extd_audit'),78 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_extd_audit'))79bld.SAMBA3_MODULE('vfs_full_audit',80 subsystem='vfs',81 source=VFS_FULL_AUDIT_SRC,82 init_function='',83 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_full_audit'),84 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_full_audit'))85bld.SAMBA3_MODULE('vfs_fake_perms',86 subsystem='vfs',87 source=VFS_FAKE_PERMS_SRC,88 deps='acl attr',89 init_function='',90 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_perms'),91 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_perms'))92bld.SAMBA3_MODULE('vfs_recycle',93 subsystem='vfs',94 source=VFS_RECYCLE_SRC,95 init_function='',96 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_recycle'),97 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_recycle'))98bld.SAMBA3_MODULE('vfs_netatalk',99 subsystem='vfs',100 source=VFS_NETATALK_SRC,101 init_function='',102 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_netatalk'),103 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_netatalk'))104bld.SAMBA3_MODULE('vfs_default_quota',105 subsystem='vfs',106 source=VFS_DEFAULT_QUOTA_SRC,107 init_function='',108 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default_quota'),109 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default_quota'))110bld.SAMBA3_MODULE('vfs_readonly',111 subsystem='vfs',112 source=VFS_READONLY_SRC,113 init_function='',114 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readonly'),115 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readonly'))116bld.SAMBA3_MODULE('vfs_cap',117 subsystem='vfs',118 source=VFS_CAP_SRC,119 init_function='',120 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cap'),121 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cap'))122bld.SAMBA3_MODULE('vfs_expand_msdfs',123 subsystem='vfs',124 source=VFS_EXPAND_MSDFS_SRC,125 init_function='',126 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_expand_msdfs'),127 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_expand_msdfs'))128bld.SAMBA3_MODULE('vfs_shadow_copy',129 subsystem='vfs',130 source=VFS_SHADOW_COPY_SRC,131 init_function='',132 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy'),133 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy'))134bld.SAMBA3_MODULE('vfs_shadow_copy2',135 subsystem='vfs',136 source=VFS_SHADOW_COPY2_SRC,137 init_function='',138 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy2'),139 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy2'))140bld.SAMBA3_MODULE('vfs_afsacl',141 subsystem='vfs',142 source=VFS_AFSACL_SRC,143 init_function='',144 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_afsacl'),145 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_afsacl'))146bld.SAMBA3_MODULE('vfs_xattr_tdb',147 subsystem='vfs',148 source=VFS_XATTR_TDB_SRC,149 deps='NDR_XATTR',150 init_function='',151 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_xattr_tdb'),152 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_xattr_tdb'))153bld.SAMBA3_MODULE('vfs_posixacl',154 subsystem='vfs',155 source=VFS_POSIXACL_SRC,156 deps='acl attr',157 init_function='',158 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posixacl'),159 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posixacl'))160bld.SAMBA3_MODULE('vfs_aixacl',161 subsystem='vfs',162 source=VFS_AIXACL_SRC,163 deps='VFS_AIXACL_UTIL',164 init_function='',165 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl'),166 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl'))167bld.SAMBA3_MODULE('vfs_aixacl2',168 subsystem='vfs',169 source=VFS_AIXACL2_SRC,170 deps='NFS4_ACLS VFS_AIXACL_UTIL',171 init_function='',172 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl2'),173 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2'))174bld.SAMBA3_MODULE('vfs_solarisacl',175 subsystem='vfs',176 source=VFS_SOLARISACL_SRC,177 init_function='',178 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_solarisacl'),179 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_solarisacl'))180bld.SAMBA3_MODULE('vfs_zfsacl',181 subsystem='vfs',182 source=VFS_ZFSACL_SRC,183 deps='NFS4_ACLS sunacl',184 init_function='',185 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_zfsacl'),186 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_zfsacl'))187bld.SAMBA3_MODULE('vfs_hpuxacl',188 subsystem='vfs',189 source=VFS_HPUXACL_SRC,190 init_function='',191 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_hpuxacl'),192 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_hpuxacl'))193bld.SAMBA3_MODULE('vfs_irixacl',194 subsystem='vfs',195 source=VFS_IRIXACL_SRC,196 init_function='',197 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_irixacl'),198 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_irixacl'))199bld.SAMBA3_MODULE('vfs_tru64acl',200 subsystem='vfs',201 source=VFS_TRU64ACL_SRC,202 init_function='',203 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_true64acl'),204 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_true64acl'))205bld.SAMBA3_MODULE('vfs_catia',206 subsystem='vfs',207 source=VFS_CATIA_SRC,208 init_function='',209 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_catia'),210 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_catia'))211bld.SAMBA3_MODULE('vfs_streams_xattr',212 subsystem='vfs',213 source=VFS_STREAMS_XATTR_SRC,214 init_function='',215 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_xattr'),216 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_xattr'))217bld.SAMBA3_MODULE('vfs_streams_depot',218 subsystem='vfs',219 source=VFS_STREAMS_DEPOT_SRC,220 init_function='',221 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_depot'),222 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_depot'))223bld.SAMBA3_MODULE('vfs_cacheprime',224 subsystem='vfs',225 source=VFS_CACHEPRIME_SRC,226 init_function='',227 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cacheprime'),228 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cacheprime'))229bld.SAMBA3_MODULE('vfs_prealloc',230 subsystem='vfs',231 source=VFS_PREALLOC_SRC,232 init_function='',233 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_prealloc'),234 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_prealloc'))235bld.SAMBA3_MODULE('vfs_commit',236 subsystem='vfs',237 source=VFS_COMMIT_SRC,238 init_function='',239 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_commit'),240 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_commit'))241bld.SAMBA3_MODULE('vfs_gpfs',242 subsystem='vfs',243 source=VFS_GPFS_SRC,244 deps='NFS4_ACLS',245 init_function='',246 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),247 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'))248bld.SAMBA3_MODULE('vfs_gpfs_hsm_notify',249 subsystem='vfs',250 source=VFS_GPFS_HSM_NOTIFY_SRC,251 init_function='',252 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs_hsm_notify'),253 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs_hsm_notify'))254bld.SAMBA3_MODULE('vfs_notify_fam',255 subsystem='vfs',256 source=VFS_NOTIFY_FAM_SRC,257 init_function='',258 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_notify_fam'),259 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_notify_fam'))260bld.SAMBA3_MODULE('vfs_readahead',261 subsystem='vfs',262 source=VFS_READAHEAD_SRC,263 init_function='',264 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readahead'),265 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readahead'))266bld.SAMBA3_MODULE('vfs_tsmsm',267 subsystem='vfs',268 source=VFS_TSMSM_SRC,269 init_function='',270 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_tsmsm'),271 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_tsmsm'))272bld.SAMBA3_MODULE('vfs_fileid',273 subsystem='vfs',274 source=VFS_FILEID_SRC,275 init_function='',276 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fileid'),277 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fileid'))278bld.SAMBA3_MODULE('vfs_aio_fork',279 subsystem='vfs',280 source=VFS_AIO_FORK_SRC,281 init_function='',282 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_fork'),283 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'))284bld.SAMBA3_MODULE('vfs_preopen',285 subsystem='vfs',286 source=VFS_PREOPEN_SRC,287 init_function='',288 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_preopen'),289 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_preopen'))290bld.SAMBA3_MODULE('vfs_syncops',291 subsystem='vfs',292 source=VFS_SYNCOPS_SRC,293 init_function='',294 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_syncops'),295 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_syncops'))296bld.SAMBA3_MODULE('vfs_acl_xattr',297 subsystem='vfs',298 source=VFS_ACL_XATTR_SRC,299 init_function='',300 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_xattr'),301 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_xattr'))302bld.SAMBA3_MODULE('vfs_acl_tdb',303 subsystem='vfs',304 source=VFS_ACL_TDB_SRC,305 deps='NDR_XATTR',306 init_function='',307 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_tdb'),308 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_tdb'))309bld.SAMBA3_MODULE('vfs_smb_traffic_analyzer',310 subsystem='vfs',311 source=VFS_SMB_TRAFFIC_ANALYZER_SRC,312 init_function='',313 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_smb_traffic_analyzer'),314 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_smb_traffic_analyzer'))315bld.SAMBA3_MODULE('vfs_onefs',316 subsystem='vfs',317 source=VFS_ONEFS_SRC,318 init_function='',319 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_onefs'),320 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_onefs'))321bld.SAMBA3_MODULE('vfs_onefs_shadow_copy',322 subsystem='vfs',323 source=VFS_ONEFS_SHADOW_COPY_SRC,324 init_function='',325 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_onefs_shadow_copy'),326 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_onefs_shadow_copy'))327bld.SAMBA3_MODULE('vfs_dirsort',328 subsystem='vfs',329 source=VFS_DIRSORT_SRC,330 init_function='',331 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dirsort'),332 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dirsort'))333bld.SAMBA3_MODULE('vfs_scannedonly',334 subsystem='vfs',335 source=VFS_SCANNEDONLY_SRC,336 init_function='',337 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_scannedonly'),338 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_scannedonly'))339bld.SAMBA3_MODULE('vfs_crossrename',340 subsystem='vfs',341 source=VFS_CROSSRENAME_SRC,342 init_function='',343 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_crossrename'),344 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_crossrename'))345bld.SAMBA3_MODULE('vfs_linux_xfs_sgid',346 subsystem='vfs',347 source=VFS_LINUX_XFS_SGID_SRC,348 init_function='',349 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_linux_xfs_sgid'),350 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_linux_xfs_sgid'))351bld.SAMBA3_MODULE('vfs_time_audit',352 subsystem='vfs',353 source=VFS_TIME_AUDIT_SRC,354 init_function='',355 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_time_audit'),356 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_time_audit'))357CHARSET_WEIRD_SRC = 'weird.c'358CHARSET_CP850_SRC = 'CP850.c'359CHARSET_CP437_SRC = 'CP437.c'360CHARSET_MACOSXFS_SRC = 'charset_macosxfs.c'361bld.SAMBA3_SUBSYSTEM('charset',362 source='',363 vars=locals())364bld.SAMBA3_MODULE('charset_weird',365 subsystem='charset',366 source=CHARSET_WEIRD_SRC,367 init_function='',368 internal_module=bld.SAMBA3_IS_STATIC_MODULE('charset_weird'),369 enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_weird'))370bld.SAMBA3_MODULE('charset_CP850',371 subsystem='charset',372 source=CHARSET_CP850_SRC,373 init_function='',374 internal_module=bld.SAMBA3_IS_STATIC_MODULE('charset_CP850'),375 enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_CP850'))376bld.SAMBA3_MODULE('charset_CP437',377 subsystem='charset',378 source=CHARSET_CP437_SRC,379 init_function='',380 internal_module=bld.SAMBA3_IS_STATIC_MODULE('charset_CP437'),381 enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_CP437'))382bld.SAMBA3_MODULE('charset_macosxfs',383 subsystem='charset',384 source=CHARSET_MACOSXFS_SRC,385 init_function='',386 internal_module=bld.SAMBA3_IS_STATIC_MODULE('charset_macosxfs'),387 enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_macosxfs'))388PERFCOUNT_ONEFS_SRC = 'perfcount_onefs.c'389PERFCOUNT_TEST_SRC = 'perfcount_test.c'390bld.SAMBA3_SUBSYSTEM('perfcount',391 source='',392 vars=locals())393bld.SAMBA3_MODULE('perfcount_onefs',394 subsystem='perfcount',395 source=PERFCOUNT_ONEFS_SRC,396 init_function='',397 internal_module=bld.SAMBA3_IS_STATIC_MODULE('perfcount_onefs'),398 enabled=bld.SAMBA3_IS_ENABLED_MODULE('perfcount_onefs'))399bld.SAMBA3_MODULE('perfcount_test',400 subsystem='perfcount',401 source=PERFCOUNT_TEST_SRC,402 init_function='',403 internal_module=bld.SAMBA3_IS_STATIC_MODULE('perfcount_test'),...

Full Screen

Full Screen

__init__.py

Source:__init__.py Github

copy

Full Screen

1 #MainWindow.setWindowIcon(QIcon('G:\\ProductionInfoRegister\\resource\\app_info.ico'))2 # def logic(self, MainWindow):3 # self.BTN_Clear.clicked.connect(MainWindow.close)4"""5def beforeClear():6 Dialog = QtWidgets.QDialog()7 new_window = Ui_Confirm_Window()8 new_window.setupUi(Dialog)9 Dialog.show()10 Dialog.exec_()11 12 13 self.fileSNameLineEdit.setEnabled(0)14 self.LE_SMIC_Prod_ID.setEnabled(0)15 self.LE_Test_Program_Directory.setEnabled(0)16 self.LE_Probe_Card_Setup_Name.setEnabled(0)17 self.LE_Grid_Xmax.setEnabled(0)18 self.LE_Grid_Ymax.setEnabled(0)19 self.LE_Grid_Xmin.setEnabled(0)20 self.LE_Grid_Ymin.setEnabled(0)21 self.LE_shift_X.setEnabled(0)22 self.LE_shift_Y.setEnabled(0)23 self.LE_Fab_Site.setEnabled(0)24 self.LE_Test_Site.setEnabled(0)25 self.LE_Probe_Card_ID.setEnabled(0)26 self.LE_WM_ORIGIN.setEnabled(0)27 self.LE_Load_Board_ID.setEnabled(0)28 self.LE_ROM_Code.setEnabled(0)29 self.LE_X_Die_Size.setEnabled(0)30 self.LE_Y_Die_Size.setEnabled(0)31 self.LE_X_Street.setEnabled(0)32 self.LE_Y_Street.setEnabled(0)33 self.LE_Customer_Code.setEnabled(0)34 self.LE_Customer_PartID.setEnabled(0)35 self.LE_Gross_Die.setEnabled(0)36 self.LE_Prr_Check_Number.setEnabled(0)37 self.LE_Magnum_UI_Version.setEnabled(0)38 self.LE_Datalog_Setup.setEnabled(0)39 self.LE_ReleaseTester.setEnabled(0)40 self.LE_ServerDirectory.setEnabled(0)41 self.LE_Tester_Directory.setEnabled(0)42 #second group43 self.sortLineEdit_2.setEnabled(0)44 self.testflowLineEdit_2.setEnabled(0)45 self.packageLineEdit_2.setEnabled(0)46 self.programNameLineEdit_2.setEnabled(0)47 self.binDefinationLineEdit_2.setEnabled(0)48 #buttons49 self.pushButton_2.setEnabled(0)50 self.pushButton_4.setEnabled(0)51 self.pushButton_3.setEnabled(0)52 self.BTN_Clear.setEnabled(0)53 self.BTN_Create.setEnabled(0)54"""...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run pytest-benchmark automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful