There was an error while loading. Please reload this page.
1 parent c6d213f commit 7cd8a68Copy full SHA for 7cd8a68
1 file changed
api/tests/integration/test_api_documentation.py
@@ -1,3 +1,4 @@
1
+from django.conf import settings
2
from django.test import Client
3
4
@@ -11,3 +12,7 @@ def test_api_documentation_specification_loads(
11
12
# Then
13
assert response.status_code == 200
14
assert response.json()["info"]["title"] == "Flagsmith API"
15
+
16
17
+def test_spectacular_settings__component_no_read_only_required__is_enabled() -> None:
18
+ assert settings.SPECTACULAR_SETTINGS["COMPONENT_NO_READ_ONLY_REQUIRED"] is True
0 commit comments