Skip to content

Commit

Permalink
Temporarily change default
Browse files Browse the repository at this point in the history
  • Loading branch information
evansd committed Sep 13, 2023
1 parent 38c0bba commit 89118f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cohortextractor/tpp_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
class TPPBackend:
_db_connection = None
_current_column_name = None
include_t1oo = False
# TODO: Temporary default to support safe deployment
include_t1oo = True

def __init__(
self,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_tpp_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ def setup_function(function):
(
"mssql://user:pass@localhost:4321/db",
"mssql://user:pass@localhost:4321/db",
False,
True,
),
(
"mssql://user:pass@localhost:4321/db?param1=one&param2&param1=three",
"mssql://user:pass@localhost:4321/db?param1=one&param1=three&param2=",
False,
True,
),
(
"mssql://user:pass@localhost:4321/db?opensafely_include_t1oo&param2=two",
Expand Down

0 comments on commit 89118f1

Please sign in to comment.