We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47cc484 commit 9cb9240Copy full SHA for 9cb9240
tests/test_app/tests/utils.py
@@ -68,7 +68,8 @@ def tearDownClass(cls):
68
69
# Repurposed from ChannelsLiveServerTestCase._post_teardown
70
cls._live_server_modified_settings.disable()
71
- for db_name in ["default", config.REACTPY_DATABASE]:
+ # Using set to prevent duplicates
72
+ for db_name in {"default", config.REACTPY_DATABASE}:
73
call_command(
74
"flush",
75
verbosity=0,
0 commit comments