Skip to main content

matrix-synapse-testutils

Base testutils of matrix synapse

This project includes the test utils from matrix-synapse to make them reusable in other projects.

There are some very good basic unittest classes to test routes and plugins, but one is unable to import them, because

  • the files are in a module called 'test'
  • the imports are absolute
  • the test module is included in the sdist but not after installation

Sample usage

from matrix_synapse_testutils.unittest import HomeserverTestCase

Versioning

The version of this module always fits the version of its respective synapse version.

Synapse version 1.70.0 leads to a version of matrix_synapse_testutils of 1.70.0.N. N is a numeric revision number for matrix_synapse_testutils starting at 1 for every release of synapse, just like you would expect.

Examples

1.70.0.0 This means it is the first release of matrix_synapse_testutils for synapse 1.70.0

1.70.0.1 This means it is the second release of matrix_synapse_testutils for synapse 1.70.0

1.71.1.0 This means it is the first release of matrix_synapse_testutils for synapse 1.71.1

Scripts

Under bin/ is a shell script which does most of the work of updating the utilities from synapse. It downloads, unpacks, syncs and tries to patch the files from synapse. This is far from perfect and might needs manual adaption.

Metadata

Release files for matrix-synapse-testutils 1.96.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for matrix-synapse-testutils 1.96.1.0
File Size Uploaded Provenance Actions
matrix_synapse_testutils-1.96.1.0.tar.gz 54.0 kB Without provenance Details for matrix_synapse_testutils-1.96.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for matrix-synapse-testutils 1.96.1.0
File Interpreter ABI Platform Actions
matrix_synapse_testutils-1.96.1.0-py3-none-any.whl Python 3 none any Details for matrix_synapse_testutils-1.96.1.0-py3-none-any.whl

Total release size: 110.0 kB

Release files / matrix_synapse_testutils-1.96.1.0.tar.gz

Download URL matrix_synapse_testutils-1.96.1.0.tar.gz
Size 54.0 kB
Tags Source
SHA-256 checksum
How to use checksums
46589f9f8f3e0d3edbee795b50da39d9efca263c77310e30f0a65892367d1499
BLAKE2b-256 checksum
How to use checksums
f6da829500c1189dac8c046d98f5e360addded8398ff975f0044d5fc0b25b73f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.18

Release files / matrix_synapse_testutils-1.96.1.0-py3-none-any.whl

Download URL matrix_synapse_testutils-1.96.1.0-py3-none-any.whl
Size 56.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b00c809691c8358d6ff2df620c9e12d86ea16fd018118e1837c937fabbf6f855
BLAKE2b-256 checksum
How to use checksums
06c6590345c764f4d28dda4af4120bcc66dcd3c9d824b72865e557bca94f280f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.18

Security for matrix-synapse-testutils 1.96.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.

Release history Release notifications | RSS feed

This release

1.96.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page