try to fix storagecounter test in CI

master
Kevin Froman 2019-09-10 22:09:54 -05:00
parent d3424c416d
commit a20222d246
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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)