try to fix storagecounter test in CI
This commit is contained in:
parent
d3424c416d
commit
a20222d246
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user