Commit Graph

38 Commits

Author SHA1 Message Date
Andreas Zweili 7efceb4954 format with black 2022-03-27 14:50:44 +02:00
Andreas Zweili ad61fbb294 remove unused import 2022-03-23 10:35:45 +01:00
Andreas Zweili 42970896a6 add invalid test for htmx_create_device_cagetory 2022-02-11 17:40:58 +01:00
Andreas Zweili d546827b8a create tests for htmx_create_device_cagetory 2022-02-11 17:38:18 +01:00
Andreas Zweili 6ff44eb129 add test_load_device_update_view 2022-02-10 22:05:12 +01:00
Andreas Zweili 38241f2a9b add a test for duplicate devices 2022-02-10 21:56:56 +01:00
Andreas Zweili 6b5130ccae add the correct submit value 2022-02-08 15:04:48 +01:00
Andreas Zweili 51f47c643a correct a test 2022-02-07 23:04:55 +01:00
Andreas Zweili 799b2a57dd add a custom user model 2021-12-30 18:31:47 +01:00
Andreas Zweili 6fc66ffb78 limit the dropdowns in device and computer forms 2021-12-30 14:57:47 +01:00
Andreas Zweili a1e4f8fc5a check the dates in the Warranty forms 2021-12-29 14:57:12 +01:00
Andreas Zweili 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 bb70c0f56b devices need to be unique per customer 2021-12-28 17:53:00 +01:00
Andreas Zweili 2bfe3f6aee add comments 2020-05-26 22:26:22 +02:00
Andreas Zweili ee2af48a2c add a test for warranties with a duration > 365 days 2020-05-26 22:25:51 +02:00
Andreas Zweili d125937b10 remove the superuser property from the warranty view tests 2020-05-26 22:13:54 +02: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
Andreas Zweili 17053f586b remove the ConnectedDevice model 2020-05-03 21:48:40 +02:00
Andreas Zweili 49571ccf08 add a test for the ip status string 2020-05-01 16:59:07 +02:00
Andreas Zweili 975d3573d8 add device create view 2020-05-01 15:22:53 +02:00
Andreas Zweili 6dd0e38513 remove the names of some overly large capitalists
These companies already have far too much money at their disposal.
They might profit from the free advertising appearing in this
repository and we wouldn't want that wouldn't we?
2020-03-15 19:54:43 +01:00
Andreas Zweili 8f69665a95 add tests for the warranties table 2020-03-01 11:48:09 +01:00
Andreas Zweili 0443f73c66 add warranty test 2020-02-16 18:00:58 +01:00
Andreas Zweili 1f4c3f997d add an additional network to a connected_device test 2020-02-16 17:03:53 +01:00
Andreas Zweili f042d4fd74 remove duplicate test
since I move the device details to a separate template block I only need the
test in one place.
2020-02-16 17:01:55 +01:00
Andreas Zweili 47b1f81a89 add ConnectedDevice views 2020-02-15 18:50:51 +01:00
Andreas Zweili 441fda2e1f add HardwareModel to the device app
devices like computers etc. usually have a hardware model/type. E.g. Dell
Precision 5530. In order to use the same name consistently we have the option
to select the model name from a drop down.
2020-02-14 20:26:24 +01:00
Andreas Zweili e3d1d73db9 split the project into more apps 2020-01-10 00:01:06 +01:00
Andreas Zweili b1e160ff3b rename device app to devices 2020-01-09 21:59:49 +01:00