From a20222d24669eb79bd1ecb83863b129c959eceac Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Tue, 10 Sep 2019 22:09:54 -0500 Subject: [PATCH] try to fix storagecounter test in CI --- .gitlab-ci.yml | 3 ++- onionr/tests/test_storagecounter.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7a278f5b..48f54da0 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,8 @@ test: - image: ubuntu:bionic + image: ubuntu:disco script: - apt-get update -qy - apt-get install -y python3-pip tor - pip3 install --require-hashes -r requirements.txt + - python3 --version - make test diff --git a/onionr/tests/test_storagecounter.py b/onionr/tests/test_storagecounter.py index 64753727..81645056 100644 --- a/onionr/tests/test_storagecounter.py +++ b/onionr/tests/test_storagecounter.py @@ -25,6 +25,7 @@ class TestStorageCounter(unittest.TestCase): def test_basic_amount(self): import config _test_setup() + print(config.get('allocations.disk')) self.assertIsNotNone(config.get('allocations.disk')) self.assertGreaterEqual(config.get('allocations.disk'), 1000000)