Contents
Utilities and helper functions.
Location: allianceauth.utils
allianceauth.utils
cache
testing
Get the configured redis client used by Django for caching.
This function is a wrapper designed to work for both AA2 and AA3 and should always be used to ensure backwards compatibility.
Variation of Django’s TestCase class that prevents any network use.
Example
class TestMyStuff(NoSocketsTestCase): def test_should_do_what_i_need(self): ...
Error raised when a test script accesses the network