Commit graph

20 commits

Author SHA1 Message Date
5f1d0338c9
[Revert if incompatible] ?time=&name= is for device, not sensor 2024-06-03 09:11:21 +04:00
9b08f8cb69
Log x-full-error header as warning 2024-06-03 09:10:34 +04:00
ac27fe81f3
Add debug logging env 2024-06-03 09:04:06 +04:00
b4ab6a47d9
Replace urllib with urllib3 2024-06-03 09:00:28 +04:00
1d75e10c63
Fix: close UDP socket 2024-05-31 19:50:06 +04:00
30c9f0d8db
Run unittest.main 2024-05-31 19:49:36 +04:00
116ee89390
Add UDP socket tests 2024-05-31 19:27:07 +04:00
29d49dfeb2
Refactor: separate models.Device method for device JSON obj 2024-05-31 19:13:12 +04:00
e9ac3d291d
Fix: forgot to close TCP socket 2024-05-31 18:58:12 +04:00
869908daef
Add JSON format 2024-05-31 18:45:44 +04:00
45a5b7c0f6
Add HTTP POST test 2024-05-31 17:50:13 +04:00
3668a917a7
Update tests (see "refactor" commit) 2024-05-31 17:49:44 +04:00
ef41123264
Update fixtures (see prev commit) 2024-05-31 17:41:41 +04:00
404e1644db
Refactor: add models.Device with req data generators 2024-05-31 17:37:42 +04:00
1a514c5584
Fix: forgot ## in NarodMon request 2024-05-31 16:28:21 +04:00
b0b6d221a3
Add HTTP unittest with NarodMon format 2024-05-31 16:22:25 +04:00
c0d502369a
Return bytes in models.create_* 2024-05-31 16:22:02 +04:00
86dc8777bc
Add narodmon format request builder 2024-05-31 16:09:48 +04:00
2ce161205c
Test data, template for TCP unittest 2024-05-31 15:58:46 +04:00
e51370ca6e
Initial commit 2024-05-31 15:58:25 +04:00