Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit 76b04c2

Browse files
Tweak
1 parent 6eb8861 commit 76b04c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ If you're integrating against a web framework you'll typically want to
189189
use something like the following pattern:
190190

191191
```python
192-
if not TESTING:
193-
database = Database(DATABASE_URL)
194-
else:
192+
if TESTING:
195193
database = Database(TEST_DATABASE_URL, force_rollback=True)
194+
else:
195+
database = Database(DATABASE_URL)
196196
```
197197

198198
This will give you test cases that run against a different database to

0 commit comments

Comments
 (0)