mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-12 00:19:48 +00:00
Resolves test issues with Python 3.12 (#6902)
This commit is contained in:
@@ -70,12 +70,13 @@ class TestApiAppConfig(DirectoriesMixin, APITestCase):
|
||||
config.app_logo = "/logo/example.jpg"
|
||||
config.save()
|
||||
response = self.client.get("/api/ui_settings/", format="json")
|
||||
self.assertDictContainsSubset(
|
||||
self.assertDictEqual(
|
||||
response.data["settings"],
|
||||
{
|
||||
"app_title": config.app_title,
|
||||
"app_logo": config.app_logo,
|
||||
},
|
||||
response.data["settings"],
|
||||
}
|
||||
| response.data["settings"],
|
||||
)
|
||||
|
||||
def test_api_update_config(self):
|
||||
|
Reference in New Issue
Block a user