mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-20 13:36:45 +01:00
Resolves test issues with Python 3.12 (#6902)
This commit is contained in:
parent
de7c22e8d6
commit
6d2ae3df1f
3 changed files with 67 additions and 52 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue