[tracker/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/wip/carlosg/tap-checks-fix] tests: Look for trueness of TEST_TAP_ENABLED
- Date: Sat, 3 Apr 2021 09:30:00 +0000 (UTC)
commit f47dabba458df0a490d94c12cbeebad04ec2c341
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Apr 3 11:25:34 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 649959888..889247c14 100644
--- a/tests/functional-tests/configuration.py
+++ b/tests/functional-tests/configuration.py
@@ -54,7 +54,7 @@ def tracker_version():
def tap_protocol_enabled():
- return config['TEST_TAP_ENABLED']
+ return config['TEST_TAP_ENABLED'][0] in ('T', 't', '1')
TRACKER_DEBUG_TESTS = 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]