Commit Graph

13 Commits

Author SHA1 Message Date
4e25c53f6e remove unused import 2022-03-27 14:54:35 +02:00
7efceb4954 format with black 2022-03-27 14:50:44 +02:00
6fc66ffb78 limit the dropdowns in device and computer forms 2021-12-30 14:57:47 +01:00
291acd7622 add tests for get_objects_for_customer 2021-12-28 16:17:35 +01:00
a1161956db add tests for get_all_objects_for_allowed_customers 2021-12-26 16:10:03 +01:00
c8b7de571e rename test file 2021-12-26 15:38:41 +01:00
d03fc187fe add tests for get_object_with_view_permission 2021-12-26 15:37:30 +01:00
20524c20d4 remove the get_objects util 2021-12-24 13:12:07 +01:00
Andreas Zweili
c07978fa79 add test for verbose name filter 2020-06-15 22:05:28 +02:00
Andreas Zweili
25b2c3c02d Use a better string for the wrong model name 2020-02-29 19:25:00 +01:00
Andreas Zweili
ceb1aa59cc add test_get_objects_raises_404 2020-02-29 18:54:04 +01:00
Andreas Zweili
67fa2792d9 extend the helper functions with the escape function
When the object_to_find string contained a special character which the django
template system escapes then the test filed because the helpers where looking
for the unescaped string. Now they escape the string as well.
2020-01-12 14:23:10 +01:00
Andreas Zweili
f4c96579be move the test helper module to the core app 2020-01-07 21:55:43 +01:00