chore: prefer allow/deny terminology (#10320)

* chore: prefer allow/deny terminology

* fix tests

* add PR reference
This commit is contained in:
Ville Brofeldt
2020-07-15 19:22:46 +03:00
committed by GitHub
parent 66b0239eca
commit ac85aebe4a
10 changed files with 31 additions and 29 deletions

View File

@@ -151,9 +151,9 @@ class TestDbEngineSpecs(TestDbEngineSpec):
"""SELECT 'LIMIT 777'""", """SELECT 'LIMIT 777'\nLIMIT 1000"""
)
def test_time_grain_blacklist(self):
def test_time_grain_denylist(self):
with app.app_context():
app.config["TIME_GRAIN_BLACKLIST"] = ["PT1M"]
app.config["TIME_GRAIN_DENYLIST"] = ["PT1M"]
time_grain_functions = SqliteEngineSpec.get_time_grain_expressions()
self.assertNotIn("PT1M", time_grain_functions)