============
satin-python is simple UI matcher and driver library, built on top of hamcrest and PyQt
Usage
=====
Finding specific widget
-----------------------
To find a specific widget, use function widget:
sub_widget = widget(dialog,
matcher)
Where dialog is Qt object to examine and matcher is hamcrest matcher capable
of detecting specific widget.
Labels
------
To check that a widget has label with text 'Title':
assert_that(item, has_label('Title'))
Event loop
----------
To start event loop, use @satin_suite class decorator. This will modify your
test class to start QApplication behind the scenes in order to have the event
loop running. When the test method completes, QApplication is automatically
shutdown.
@satin_suite
def TestWidget():
def test_clicking_around():
...
License
=======
satin-python is copyrighted by Tuukka Turto and is placed under
GNU General Public License. For more information, please refer to license.txt
found in the main folder.
Metadata
Release files for satin 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| satin-0.1.0.tar.gz | 4.1 kB | Without provenance | Details for satin-0.1.0.tar.gz |
Release files / satin-0.1.0.tar.gz
| Download URL | satin-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ced78ebc6241c60fb30320c89ab90bc4ec8d18df6f66044fe593e044d251110
|
|
BLAKE2b-256 checksum How to use checksums |
bf58a4da7f27a1000af5a876472364fb5498ea85023edff1f61fb6922859b831
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for satin 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.