diff --git a/authentik/outposts/tests/test_commands.py b/authentik/outposts/tests/test_commands.py new file mode 100644 index 000000000..9e70e8b02 --- /dev/null +++ b/authentik/outposts/tests/test_commands.py @@ -0,0 +1,15 @@ +"""management command tests""" +from io import StringIO + +from django.core.management import call_command +from django.test import TestCase + + +class TestManagementCommands(TestCase): + """management command tests""" + + def test_repair_permissions(self): + """Test repair_permissions""" + out = StringIO() + call_command("repair_permissions", stdout=out) + self.assertNotEqual(out.getvalue(), "")