18 Commits

Author SHA1 Message Date
58ac46126a
Also test registering from scratch 2022-03-14 16:06:50 +01:00
a7970c4f6b
Assert that we indeed merge the existing pf rules 2022-03-14 16:00:31 +01:00
3dacbe7a5d
Uh, switched names of tests 2022-03-14 15:45:03 +01:00
798a72cb73
Gracefully handle FileNotFoundError exceptions 2022-03-14 15:43:28 +01:00
feb8c93737
Let AUTHFILE be absolute path 2022-03-14 15:20:49 +01:00
3f94410716
Let's test an method that is not allowed in app.route 2022-03-11 22:07:04 +01:00
542718b956
Add exception handler for when pfctl operations fail 2022-03-11 21:21:40 +01:00
f3f8bd5dc6
Fix test (was used to test gitlab email 2022-03-11 13:42:36 +01:00
5971c27a8f
Correct stderr for test 2022-03-11 10:38:37 +01:00
47e8208ce2
Add test for flush 2022-03-11 10:38:19 +01:00
af1fef189c
Handle pfctl_cfg_write output as expected 2022-03-10 23:29:14 +01:00
c33e63978e
Test unregistering and check intended fields 2022-03-10 21:39:07 +01:00
963f7e5702
Test unban 2022-03-10 21:24:35 +01:00
ffe144f6b5
Add case for detecing invalid input 2022-03-10 21:12:24 +01:00
b5f16f161c
Test for invalid address handling 2022-03-10 20:43:24 +01:00
bd12b2a18a
pylint fixes 2022-03-10 14:03:09 +01:00
64523ae8b5
Add tests for /ban 2022-03-10 13:37:34 +01:00
1494f1a5e0
First tests! 2022-03-10 11:22:04 +01:00