[tracker-miners/wip/carlosg/tap-checks-fix] tests: Look for trueness of TEST_TAP_ENABLED
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/tap-checks-fix] tests: Look for trueness of TEST_TAP_ENABLED
- Date: Sat, 3 Apr 2021 09:35:11 +0000 (UTC)
commit c1f4c5a239968b9d263e768736a12ccad847c728
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Apr 3 11:33:51 2021 +0200
tests: Look for trueness of TEST_TAP_ENABLED
This config value is a string, we can't treat is as a boolean.
tests/functional-tests/configuration.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/functional-tests/configuration.py b/tests/functional-tests/configuration.py
index ec68cc681..0d386f65d 100644
--- a/tests/functional-tests/configuration.py
+++ b/tests/functional-tests/configuration.py
@@ -67,7 +67,7 @@ def cli_subcommands_dir():
def tap_protocol_enabled():
- return config['TEST_TAP_ENABLED']
+ return config['TEST_TAP_ENABLED'][0] in ('T', 't', '1')
def nepomuk_path():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]