Commit Graph

18 Commits (dae8c0fc3824fa9cb3275ad3d7ef1359cbd1802b)

Author SHA1 Message Date
Jan Bouwhuis 31bd500222
Make get_channel available as generic helper ()
* Make get_channel available as generic helper

* Follow up comment
2023-10-10 14:02:32 +02:00
Marc Mueller 32d63ae890
Fix sentry test assert () 2023-07-21 08:55:44 +02:00
epenet 80ee196fd8
Add type hints to integration tests (part 19) () 2023-02-15 18:07:40 +01:00
Franck Nijhof ed79265843
Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Franck Nijhof bcf32f8331
Mark required fields in FlowResult typedict ()
* Mark required fields in FlowResult typedict

* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
Franck Nijhof a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 21:28:18 +02:00
Paulus Schoutsen a4d9019ffc
Refactor persistent notification to no longer route all data via a service ()
* Convert persistent notification tests to async

* Create/dismiss persistent notifications in exposed functions, not service calls

* Fix notify persistent_notification

* Remove setting up persistent_notification

* Drop more setups

* Empty methods

* Undeprecate sync methods because too big task

* Fix setup clearing notifications

* Fix a bunch of tests

* Fix more tests

* Uno mas

* Test persistent notification events

* Clean up stale comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
Ville Skyttä 7d03b02192
Spelling fixes () 2021-06-11 13:35:03 +02:00
Franck Nijhof e64b5afa58
Typing improvements for Sentry ()
* Typing improvements for Sentry

* Fix event tags access

* Fix tests
2021-05-22 19:09:19 +02:00
Franck Nijhof af80ca6795
Clean up superfluous integration setup - part 5 () 2021-04-16 09:22:56 -07:00
Franck Nijhof 65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Franck Nijhof 97e1be98df
Upgrade sentry-sdk to 0.17.1 () 2020-08-31 10:28:52 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Franck Nijhof 3c1c6069da
Fix Sentry user context and system info () 2020-08-22 19:51:39 +02:00
Franck Nijhof d3389fa22e
Sentry integration enhancements ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-08-20 11:37:27 +02:00
Paulus Schoutsen ec47216388
Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Paulus Schoutsen 0d700f6a63
Fix tests for Python 3.8 () 2020-04-25 14:32:55 -07:00
David Cramer 3033dbd86c Add Sentry component () 2020-01-03 21:34:20 +01:00