Upgrade syntax for Python >= 3.8.

This commit is contained in:
Fabio Caccamo
2023-02-10 16:21:36 +01:00
parent 6147fb65e6
commit 81ab67953a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class AdminInterfaceFixturesTestCase(TestCase):
pass
def __load_theme(self, theme_name):
call_command("loaddata", "admin_interface_theme_{}.json".format(theme_name))
call_command("loaddata", f"admin_interface_theme_{theme_name}.json")
def test_import_initial_data(self):
call_command("loaddata", "initial_data.json")