2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
391c8b4ac1 fix docstrings 5 2022-05-28 02:51:15 +02:00
1c6e5f0f20 More plugin testing (#3052)
* Add a check of a child panel too

* do not cover error catching

* test for implementation error

* Add warning to test for

* Add test for event_sample

* ignore safety switches

* Add a settings flag to enable event testing

* test if not implemented is raises

* raise plugin specific errors

* use plugin specific error

* fix assertation

* add test for mixin

* this point can't be reached

* add tests for locate plugin

* fix assertations

* fix function call

* refert switch

* this is already caught by the internal API

* also cover mixin redirect
2022-05-24 09:23:06 +10:00
e1ff4b6e87 more class use 2022-05-20 23:01:20 +02:00
45a9a4d0c5 add in missing class references 2022-05-20 17:55:11 +02:00
799af89312 style fixes 2022-05-20 17:45:04 +02:00
a148dbf303 refactor 'all' role 2022-05-20 17:43:51 +02:00
3a1996dd48 PEP fix 2022-05-20 12:32:25 +02:00
0d5dea3e6d refactor test setup 2022-05-20 12:12:32 +02:00
07319731d2 Validate that errors get logged 2022-05-19 13:20:42 +10:00
80e3d0970a Adds unit tests for the samplepanel plugin 2022-05-19 11:28:18 +10:00
dcbd9d906b Update errors 2022-05-15 04:47:45 +02:00
43b1d25016 PEP fix 2022-05-15 03:06:35 +02:00
4fa23cbe4d split up tests 2022-05-15 02:58:01 +02:00
777e3f42df fix test 2022-05-15 02:57:23 +02:00
68940deb5b rename test 2022-05-15 02:56:05 +02:00
e68cd009f6 fix input 2022-05-15 02:54:21 +02:00
eb7e9f4703 test url args in action 2022-05-15 02:49:08 +02:00
7abdffae0d Add post test 2022-05-15 02:48:59 +02:00
7c0dea69b0 add test for api_call with full url 2022-05-15 02:42:40 +02:00
039dbbbe7e fix doctest 2022-05-15 02:40:23 +02:00
442341de50 split into more tests 2022-05-15 02:39:55 +02:00
3e6b37bf55 Add test without simple_response 2022-05-15 02:35:06 +02:00
8c6061d3b7 move failing test to seperate test 2022-05-15 02:32:26 +02:00
1782974df8 replace depreceated values everywhere 2022-05-11 16:46:03 +02:00
1571b99ed2 rename IntegrationPluginBase to InvenTreePlugin 2022-05-11 14:28:26 +02:00
499f37a97a PEP fix 2022-05-11 12:55:52 +02:00
16a2328702 move tests to their functions 2022-05-11 12:55:04 +02:00