Commit Graph

16 Commits

Author SHA1 Message Date
7efceb4954 format with black 2022-03-27 14:50:44 +02:00
6ff44eb129 add test_load_device_update_view 2022-02-10 22:05:12 +01:00
38241f2a9b add a test for duplicate devices 2022-02-10 21:56:56 +01:00
6b5130ccae add the correct submit value 2022-02-08 15:04:48 +01:00
51f47c643a correct a test 2022-02-07 23:04:55 +01:00
613fc79516 fix the dates in the warranty tests
because of the new constraint the tests failed when the valid_from date
was after the valid_until date.
2021-12-29 10:50:18 +01:00
Andreas Zweili
875be1a3b7 add test_device_in_net_delete_view 2020-05-25 21:52:58 +02:00
Andreas Zweili
653db0134a add test_device_in_net_update_view 2020-05-25 21:52:45 +02:00
Andreas Zweili
a29f04b62b add test_device_in_net_create_view 2020-05-25 21:52:31 +02:00
Andreas Zweili
e31d2a793f add test_warranty_delete_view 2020-05-25 21:35:06 +02:00
Andreas Zweili
e0c4347894 add test_warranty_update_view 2020-05-25 21:34:52 +02:00
Andreas Zweili
8a94679872 convert the tests to use the test client
using the test client ensures that the whole stack gets tested and not just the
view.
2020-05-24 22:20:18 +02:00
Andreas Zweili
b3fde54abe add test for WarrantyCreateView 2020-05-24 21:58:26 +02:00
Andreas Zweili
b5a267fa88 add test for device_update_view 2020-05-24 21:54:14 +02:00
Andreas Zweili
f56198117c remove test for absent device
we don't need to test that Django is doing its job.
2020-05-24 21:53:28 +02:00
Andreas Zweili
57139bd41b add tests for device create and delete view 2020-05-24 21:12:52 +02:00