Andreas Zweili
|
bce41c1c47
|
extend the clean up task
|
2019-08-10 15:08:52 +02:00 |
Andreas Zweili
|
3cf672edea
|
remove the local server from the Makefile
For improved consistency it's better if I only develop in Docker with Postgres
instead of the local server with sqlite
|
2019-08-10 15:05:35 +02:00 |
Andreas Zweili
|
43c334745d
|
move the pytest requirements to the base file
|
2019-08-10 15:05:03 +02:00 |
Andreas Zweili
|
532fad6bd3
|
remove the production requirements
For the moment these aren't needed
|
2019-08-10 15:03:34 +02:00 |
Andreas Zweili
|
8f852733ef
|
add a temp file to mark the first run
|
2019-08-10 15:03:03 +02:00 |
Andreas Zweili
|
e5396aea5f
|
add config for coverage
|
2019-08-10 13:56:19 +02:00 |
Andreas Zweili
|
7969663374
|
add pytest-cov to the docker requirements
|
2019-08-10 13:55:34 +02:00 |
Andreas Zweili
|
c1631fe76e
|
use a in memory database for local testing
|
2019-08-10 13:55:15 +02:00 |
Andreas Zweili
|
3833e02e60
|
add environment variable to emacs config
|
2019-08-10 13:54:55 +02:00 |
Andreas Zweili
|
7d1d606f6e
|
ignore htmlcov folder
|
2019-08-10 13:48:29 +02:00 |
Andreas Zweili
|
3daf05a5c3
|
add check for status codes
When there is a 404 then there wouldn't be a "Novartis" string present so the
test would still pass.
|
2019-08-07 22:48:38 +02:00 |
Andreas Zweili
|
00725cec8a
|
finalise test_customer_list_view_no_customer
|
2019-08-07 22:41:06 +02:00 |
Andreas Zweili
|
976321a39e
|
PEP8
|
2019-08-07 22:38:30 +02:00 |
Andreas Zweili
|
1b8a8fc00f
|
make sure only users with permissions can view customers
|
2019-08-07 22:37:59 +02:00 |
Andreas Zweili
|
a6ea6c545f
|
add customer view permission test
|
2019-08-07 22:37:35 +02:00 |
Andreas Zweili
|
871562d2c8
|
remove an unused print statement
|
2019-08-07 18:19:49 +02:00 |
Andreas Zweili
|
d8e3459778
|
remove unused print
|
2019-08-06 22:34:29 +02:00 |
Andreas Zweili
|
bbb626e1b7
|
remove unnused code
|
2019-08-06 22:23:53 +02:00 |
Andreas Zweili
|
0e0e653b4f
|
mark various tests as WIP
|
2019-08-06 22:23:39 +02:00 |
Andreas Zweili
|
373d4aa5f6
|
add test for empty customer list
|
2019-08-06 22:22:24 +02:00 |
Andreas Zweili
|
448fa67364
|
add tests for computer/hardware relations
|
2019-08-06 22:22:06 +02:00 |
Andreas Zweili
|
710224992f
|
add tests for computer_list_view
|
2019-08-06 22:13:15 +02:00 |
Andreas Zweili
|
8ad61288ba
|
remove unused code
|
2019-08-06 22:12:44 +02:00 |
Andreas Zweili
|
6d3f177b71
|
add tests for Net and Backup views
|
2019-08-06 22:03:46 +02:00 |
Andreas Zweili
|
d2a54d265a
|
add tests for device views
|
2019-08-06 21:48:29 +02:00 |
Andreas Zweili
|
0fccb6f886
|
use get_object_or_404 with ConnectedDevice
|
2019-08-06 21:46:53 +02:00 |
Andreas Zweili
|
81b35d9772
|
use get_object_or_404 with device
|
2019-08-06 21:46:32 +02:00 |
Andreas Zweili
|
4fe8f4be6e
|
test computer not found case
|
2019-08-06 21:41:55 +02:00 |
Andreas Zweili
|
e8c28e41d5
|
use get_object_or_404 in computer_view_permission
|
2019-08-06 21:41:31 +02:00 |
Andreas Zweili
|
4910a40336
|
remove unnused variables
|
2019-08-06 21:03:58 +02:00 |
Andreas Zweili
|
ac63104157
|
use objects.create whereever possible
|
2019-08-06 20:52:05 +02:00 |
Andreas Zweili
|
d920a9ba53
|
extend tests
|
2019-08-04 22:17:02 +02:00 |
Andreas Zweili
|
82f25255d4
|
only allow logged in users to acces pages
|
2019-08-04 22:15:30 +02:00 |
Andreas Zweili
|
671c7c1d8e
|
add trailing slash to url
|
2019-08-04 22:14:20 +02:00 |
Andreas Zweili
|
3933e04e9c
|
refactor the tests
|
2019-08-04 20:50:10 +02:00 |
Andreas Zweili
|
e3ca65b61b
|
add pylint as dependency
|
2019-08-04 20:49:20 +02:00 |
Andreas Zweili
|
b022b1747d
|
refacture the fixtures
the fixtures where overcomplicated and should be easier.
|
2019-08-04 20:46:02 +02:00 |
Andreas Zweili
|
5317f42349
|
extend the views with login required
|
2019-08-04 20:44:37 +02:00 |
Andreas Zweili
|
74677e6c2d
|
rearrange the urls
|
2019-08-04 20:44:19 +02:00 |
Andreas Zweili
|
b2281be9cd
|
extend gitignore
|
2019-08-04 20:43:56 +02:00 |
Andreas Zweili
|
be7cfb7da9
|
add AllComputersView
|
2019-08-02 16:54:32 +02:00 |
Andreas Zweili
|
15eea784ac
|
use the minimal css from semantic
|
2019-08-02 16:54:02 +02:00 |
Andreas Zweili
|
268337cc5b
|
implement a basic backup view
|
2019-08-02 14:31:55 +02:00 |
Andreas Zweili
|
bb650d6d04
|
hide hardware card if none is present
|
2019-08-02 14:19:08 +02:00 |
Andreas Zweili
|
660a183e34
|
remove a div
|
2019-08-02 13:40:06 +02:00 |
Andreas Zweili
|
672949f4b2
|
implement cards ui for computers
|
2019-08-02 13:39:14 +02:00 |
Andreas Zweili
|
35d399eac5
|
implement django-tables2
|
2019-08-02 13:05:42 +02:00 |
Andreas Zweili
|
3c28f6fd70
|
add verbose names to the Computer and Net model
|
2019-08-02 13:04:25 +02:00 |
Andreas Zweili
|
e3a789b125
|
add djang-tables2 to the apps
|
2019-08-02 12:21:40 +02:00 |
Andreas Zweili
|
cf7f1ee6d2
|
implement the semantic css theme
|
2019-08-02 12:21:05 +02:00 |