summaryrefslogtreecommitdiff
path: root/pbr/tests/test_integration.py
diff options
context:
space:
mode:
authorThomas Bechtold <tbechtold@suse.com>2015-06-23 11:17:54 +0200
committerThomas Bechtold <tbechtold@suse.com>2015-06-23 12:16:44 +0200
commit5039c9a3f81f5a5ee3fc92c37bebc1c7573a3c74 (patch)
treee52ce7049f3135d88577f7004eaa6a3bd7bd263d /pbr/tests/test_integration.py
parent6669999071a8893d53f8130a011f54ff9c390777 (diff)
downloadpbr-5039c9a3f81f5a5ee3fc92c37bebc1c7573a3c74.tar.gz
Use string for 'OS_TEST_TIMEOUT' default
Setting env variables with os.environ needs a string as value. This fixes: TypeError: must be string, not int Closes-Bug: #1467880 Change-Id: Ib0c8bbf24f9d4f8926ad71773eb57c3ff41cbec2
Diffstat (limited to 'pbr/tests/test_integration.py')
-rw-r--r--pbr/tests/test_integration.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbr/tests/test_integration.py b/pbr/tests/test_integration.py
index 5dff189..e3adce3 100644
--- a/pbr/tests/test_integration.py
+++ b/pbr/tests/test_integration.py
@@ -57,7 +57,8 @@ class TestIntegration(base.BaseTestCase):
def setUp(self):
# Integration tests need a higher default - big repos can be slow to
# clone, particularly under guest load.
- os.environ['OS_TEST_TIMEOUT'] = os.environ.get('OS_TEST_TIMEOUT', 600)
+ os.environ['OS_TEST_TIMEOUT'] = os.environ.get('OS_TEST_TIMEOUT',
+ '600')
super(TestIntegration, self).setUp()
base._config_git()