9b40fddf7c
reformat comments 1
2022-05-28 02:04:02 +02:00
6247eecf69
Exclude testing exceptions from coverage ( #3046 )
...
* exclude testing excetions
* check user str
* check related users
* move no coverage marker
* fix assertation
* add test for filters
* do not cover logs
2022-05-22 15:54:13 +10:00
5805685c48
Merge branch 'master' of https://github.com/inventree/InvenTree into style-fixes
2022-05-21 23:57:41 +02:00
b7a501f42c
log out first
2022-05-20 19:09:51 +02:00
e1d22f538d
resort imports
2022-05-20 17:24:51 +02:00
9f922f06ff
fix more imports
2022-05-20 12:53:04 +02:00
e8287f02d4
rename
2022-05-20 12:33:51 +02:00
0d5dea3e6d
refactor test setup
2022-05-20 12:12:32 +02:00
a373e669cd
Add permission
2022-05-18 13:24:58 +02:00
9bcbaaa5f5
Remove more python2 stuff
2022-05-17 16:57:31 +10:00
3712daca55
remove duplicate code
...
we are already checking this stuff from line 640
2022-05-13 01:27:40 +02:00
cf93ba7cf9
Merge branch 'inventree:master' into matmair/issue2385
2022-05-04 12:23:05 +02:00
07a86a3883
ognore catches in coverage
2022-05-03 22:05:56 +02:00
300558adb0
increase coverage on owners model
2022-05-03 20:26:49 +02:00
4125803e6d
Merge branch 'inventree:master' into matmair/issue2385
2022-05-02 21:50:52 +02:00
de6507e918
update translation commands
2022-05-01 22:03:49 +02:00
67ab45bdee
update depreciated paths
2022-05-01 22:00:18 +02:00
7063db7a32
add missing model ruleset
2022-04-05 00:43:29 +02:00
bff2fb81f3
rename AdditionalLineItems to ExtraLine
2022-03-27 01:11:25 +01:00
ce68ee3781
Merge branch 'inventree:master' into matmair/issue2694
2022-03-20 22:15:27 +01:00
966eb60dd8
Merge branch 'inventree:master' into matmair/issue2694
2022-03-16 15:16:07 +01:00
1e57bdcfba
Merge branch 'inventree:master' into matmair/issue2279
2022-03-16 15:15:46 +01:00
33d9913f78
do not cover programming error
2022-03-13 21:11:22 +01:00
1e4727d733
ignore precaution for plugin programmers srewing up in coverage
2022-03-13 19:48:49 +01:00
e68cc25294
ignore programming error in coverage
2022-03-13 19:48:04 +01:00
4eaa655a7c
ignore for coverage
2022-03-12 03:43:04 +01:00
56ebb0fd0e
ignore custom admin form
2022-03-12 03:40:50 +01:00
d8fc56cf61
ignore m2m for coverage
2022-03-12 03:40:27 +01:00
c6383e9f7e
add user ruleset
2022-03-11 00:59:07 +01:00
b81d2b8410
cut back on modifications
2022-03-05 23:10:20 +01:00
86ba69eeaf
Merge branch 'inventree:master' into matmair/issue2279
2022-02-28 00:45:58 +01:00
fe4d063135
Change some prints to log messages
2022-02-25 17:19:39 +11:00
626f44d195
Merge branch 'inventree:master' into matmair/issue2279
2022-02-16 02:02:02 +01:00
238cc9e278
disable broken test
2022-02-14 00:42:47 +01:00
8df5a3f980
add more user api tests
2022-02-14 00:21:15 +01:00
6848787885
remove dead code -> permission class does that already
2022-02-14 00:21:01 +01:00
a4d94f31c8
add test for non existing token
2022-02-14 00:14:11 +01:00
9246eea38e
PEP fix
2022-02-13 23:42:05 +01:00
384d458110
user api tests
2022-02-13 23:39:10 +01:00
e262599d83
ignore unreachable things
2022-02-13 23:32:55 +01:00
ffafc20c6d
do not count unreachable code
2022-02-13 23:30:27 +01:00
898f99c931
ignore not testable condition
2022-02-13 17:42:50 +01:00
127368d47f
ignore coverage on ruleset checks
2022-02-13 05:04:51 +01:00
9eb238c85e
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279
2022-02-12 00:51:15 +01:00
3b45c1406a
Improved approach to permission check at runtime
2022-02-07 15:42:39 -05:00
fd63fcde43
Reverted print statement to logger
2022-02-07 15:39:06 -05:00
ef70e665bb
Refactored and added permission check for children models
2022-02-07 15:37:07 -05:00
de7e152081
Experimenting with children models permissions
2022-02-02 14:01:53 -05:00
ee99052d04
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279
2022-01-12 02:13:50 +01:00
9e21dde6de
Merge branch 'inventree:master' into webhooks
2022-01-08 21:42:18 +01:00