Skip to content

Commit bcc2e41

Browse files
committed
test: Use falsy values for test environment variable in flask_app
Signed-off-by: Ferenc Géczi <[email protected]>
1 parent 99b1ed5 commit bcc2e41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/apps/flask_app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
app_thread = None
99

10-
if not os.environ('CASSANDRA_TEST') and app_thread is None:
10+
if not os.environ.get('CASSANDRA_TEST') and app_thread is None:
1111
app_thread = launch_background_thread(server.serve_forever, "Flask")

0 commit comments

Comments
 (0)