policies/geoip: distance + impossible travel #12541
29.23% of diff hit (target 88.44%)
View this Pull Request on Codecov
29.23% of diff hit (target 88.44%)
Annotations
Check warning on line 56 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L55-L56
Added lines #L55 - L56 were not covered by tests
Check warning on line 59 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L59
Added line #L59 was not covered by tests
Check warning on line 61 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L61
Added line #L61 was not covered by tests
Check warning on line 64 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L63-L64
Added lines #L63 - L64 were not covered by tests
Check warning on line 66 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L66
Added line #L66 was not covered by tests
Check warning on line 70 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L69-L70
Added lines #L69 - L70 were not covered by tests
Check warning on line 75 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L75
Added line #L75 was not covered by tests
Check warning on line 97 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L97
Added line #L97 was not covered by tests
Check warning on line 115 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L115
Added line #L115 was not covered by tests
Check warning on line 123 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L118-L123
Added lines #L118 - L123 were not covered by tests
Check warning on line 126 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L126
Added line #L126 was not covered by tests
Check warning on line 130 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L130
Added line #L130 was not covered by tests
Check warning on line 133 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L133
Added line #L133 was not covered by tests
Check warning on line 141 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L140-L141
Added lines #L140 - L141 were not covered by tests
Check warning on line 145 in authentik/policies/geoip/models.py
codecov / codecov/patch
authentik/policies/geoip/models.py#L144-L145
Added lines #L144 - L145 were not covered by tests
Check warning on line 20 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L19-L20
Added lines #L19 - L20 were not covered by tests
Check warning on line 134 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L134
Added line #L134 was not covered by tests
Check warning on line 143 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L143
Added line #L143 was not covered by tests
Check warning on line 145 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L145
Added line #L145 was not covered by tests
Check warning on line 148 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L147-L148
Added lines #L147 - L148 were not covered by tests
Check warning on line 152 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L152
Added line #L152 was not covered by tests
Check warning on line 161 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L161
Added line #L161 was not covered by tests
Check warning on line 164 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L163-L164
Added lines #L163 - L164 were not covered by tests
Check warning on line 168 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L168
Added line #L168 was not covered by tests
Check warning on line 177 in authentik/policies/geoip/tests.py
codecov / codecov/patch
authentik/policies/geoip/tests.py#L177
Added line #L177 was not covered by tests