@@ -22,7 +22,7 @@ def mockedFunction():
2222 return append_caller_to_sql ("sql" )
2323
2424
25- @override_settings (PSQLEXTRA_ANNOTATE_SQL = False )
25+ @override_settings (POSTGRES_EXTRA_ANNOTATE_SQL = False )
2626def test_disable_append_caller_to_sql ():
2727 commented_sql = mockedFunction ()
2828 assert commented_sql == "sql"
@@ -35,23 +35,23 @@ def test_disable_append_caller_to_sql():
3535 psqlextraSimulated ().callMockedClass ,
3636 ],
3737)
38- @override_settings (PSQLEXTRA_ANNOTATE_SQL = True )
38+ @override_settings (POSTGRES_EXTRA_ANNOTATE_SQL = True )
3939def test_append_caller_to_sql_class (entry_point ):
4040 commented_sql = entry_point ()
4141 assert commented_sql .startswith ("sql /* " )
4242 assert "mockedMethod" in commented_sql
4343 assert __file__ in commented_sql
4444
4545
46- @override_settings (PSQLEXTRA_ANNOTATE_SQL = True )
46+ @override_settings (POSTGRES_EXTRA_ANNOTATE_SQL = True )
4747def test_append_caller_to_sql_function ():
4848 commented_sql = mockedFunction ()
4949 assert commented_sql .startswith ("sql /* " )
5050 assert "mockedFunction" in commented_sql
5151 assert __file__ in commented_sql
5252
5353
54- @override_settings (PSQLEXTRA_ANNOTATE_SQL = True )
54+ @override_settings (POSTGRES_EXTRA_ANNOTATE_SQL = True )
5555def test_append_caller_to_sql_crud ():
5656 model = get_fake_model (
5757 {
0 commit comments