Commit Graph

727 Commits

Author SHA1 Message Date
Andreas Zweili 35fb6913df set junit_family to the new xunit2 2020-04-21 18:51:50 +02:00
Andreas Zweili 8b65902abe remove user from test_computer_update_form 2020-04-21 18:50:04 +02:00
Andreas Zweili e7d76f1da6 Merge branch 'master' into computer_form 2020-04-20 18:12:18 +02:00
Andreas Zweili 3e8512a2dd remove the pytest.ini file 2020-04-20 15:55:58 +02:00
Andreas Zweili 466630232a use 4 cpu core when running tests with vscode 2020-04-20 15:55:50 +02:00
Andreas Zweili 86230256a8 add `make testlocal` to the Makefile
This command allows to quickly run all tests without generating a
coverage report. Just the quickest way to run all tests.
2020-04-20 15:53:17 +02:00
Andreas Zweili 8310a1569a correct the static files setup 2020-04-20 15:22:48 +02:00
Andreas Zweili a513de51e7 Merge branch 'master' of git.2li.ch:Nebucatnetzer/network_inventory 2020-04-20 14:08:35 +02:00
Andreas Zweili 48c92ab02c update notes 2020-04-20 14:07:25 +02:00
Andreas Zweili 45150b5b2d extend the tasks 2020-03-25 14:57:25 +01:00
Andreas Zweili 6d7377f27d extend tasks 2020-03-25 14:30:26 +01:00
Andreas Zweili 24c1ccc6a6 extend the tasks 2020-03-25 09:44:25 +01:00
Andreas Zweili 7ad09c6977 extend the tasks 2020-03-25 09:33:05 +01:00
Andreas Zweili 1e38098f53 Merge branch 'master' of git.2li.ch:Nebucatnetzer/network_inventory 2020-03-20 12:01:04 +01:00
Andreas Zweili 48a2d5463b collect static files at the first run 2020-03-20 12:00:37 +01:00
Andreas Zweili b5013d8b36 add RamFormSet 2020-03-17 23:03:24 +01:00
Andreas Zweili 9b4ff27d25 add inline forms for warranties 2020-03-17 22:00:28 +01:00
Andreas Zweili 8065aef71f add migrate as a launch parameter 2020-03-17 21:51:26 +01:00
Andreas Zweili e2367c47e2 correct gitignore for the static files 2020-03-15 21:58:16 +01: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 e084373fd8 Merge branch 'master' of git.2li.ch:Nebucatnetzer/network_inventory 2020-03-05 22:03:27 +01:00
Andreas Zweili 8861060b9a collect module static files with each run 2020-03-03 10:20:35 +01:00
Andreas Zweili dc8625369e remove module static files 2020-03-03 10:20:13 +01:00
Andreas Zweili 9e548284b6 ignore the admin views in the coverage report 2020-03-03 08:40:19 +01:00
Andreas Zweili 87613c5a9c ignore the admin views in te coverage report 2020-03-01 12:42:59 +01:00
Andreas Zweili 0f539d4b5f reformat the flake8 config 2020-03-01 12:42:43 +01:00
Andreas Zweili c6803933fc remove unused file 2020-03-01 11:49:59 +01:00
Andreas Zweili 8f69665a95 add tests for the warranties table 2020-03-01 11:48:09 +01:00
Andreas Zweili b2bc1f5d88 change the customer property to a ForeignKey
Everytime the warranty gets saved the customer gets
set to the one from the corresponding device
2020-03-01 11:16:36 +01:00
Andreas Zweili c159692445 use reverse_lazy for URLs 2020-03-01 11:15:41 +01:00
Andreas Zweili db97a141d9 limit the warranties view to only the allowed objects 2020-03-01 11:15:12 +01:00
Andreas Zweili df31124143 allow non admins to see the warranties table
I reckon the customer would be interested in the warranties of his
devices as well.
2020-03-01 11:14:38 +01:00
Andreas Zweili 9f30375f6b change the superuser_required decorator to return 404 2020-03-01 11:12:29 +01:00
Andreas Zweili 70d4d5176f Revert "run up to 4 tests in parallel when testing with vscode"
This reverts commit 7114d1e61f.
2020-02-29 23:16:57 +01:00
Andreas Zweili 524f83cea6 test the ComputerForms with a normal user as well 2020-02-29 22:36:46 +01:00
Andreas Zweili 7114d1e61f run up to 4 tests in parallel when testing with vscode 2020-02-29 22:35:32 +01:00
Andreas Zweili 35f723a7c4 add test for ComputerUpdateForm 2020-02-29 21:28:39 +01:00
Andreas Zweili 8eb77ba0c5 add test for ComputerCreateForm 2020-02-29 21:11:23 +01:00
Andreas Zweili 9311090132 split parameters over multiple lines 2020-02-29 21:11:06 +01:00
Andreas Zweili 8dec65c034 correct line length 2020-02-29 21:10:03 +01:00
Andreas Zweili cf2feba185 split parameters over multiple lines 2020-02-29 21:09:13 +01:00
Andreas Zweili a16f14d9e3 adjust line length 2020-02-29 21:08:56 +01:00
Andreas Zweili 23734f49d2 remove unused import 2020-02-29 21:08:36 +01:00
Andreas Zweili e188b3e4f7 remove emtpy line 2020-02-29 21:08:18 +01:00
Andreas Zweili 0b17943e2a split parameters over multiple lines 2020-02-29 21:07:52 +01:00
Andreas Zweili 0cb8023204 split paremeters over multiple lines 2020-02-29 21:07:22 +01:00
Andreas Zweili 7e2cda3bfc remove empty line 2020-02-29 21:07:04 +01:00
Andreas Zweili 49c0f89f11 remove unused file 2020-02-29 21:06:52 +01:00
Andreas Zweili c02e9ec4e0 add new line to file 2020-02-29 21:06:04 +01:00
Andreas Zweili 1b779482be split parameters over multiple lines 2020-02-29 21:05:37 +01:00