BTHLABS-60: Appearance settings

Co-authored-by: Tomek Wójcik <labs@tomekwojcik.pl>
Co-committed-by: Tomek Wójcik <labs@tomekwojcik.pl>
This commit is contained in:
2025-10-07 04:42:58 +00:00
committed by Tomek Wójcik
parent b4d5375954
commit 2e8b8d7330
11 changed files with 102 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ from hotpocket_backend_testing.services.accounts import AccountsTestingService
def payload():
return {
'theme': 'cosmo',
'light_mode': True,
'auto_load_embeds': 'True',
}
@@ -41,7 +42,8 @@ def test_ok(authenticated_client: Client,
AccountsTestingService().assert_settings_edited(
pk=account.pk,
update={
'theme': None, # TODO: Themes!
'theme': 'cosmo',
'light_mode': True,
'auto_load_embeds': True,
},
reference=account,