try to fix storagecounter test in CI
parent
d3424c416d
commit
a20222d246
|
@ -1,7 +1,8 @@
|
||||||
test:
|
test:
|
||||||
image: ubuntu:bionic
|
image: ubuntu:disco
|
||||||
script:
|
script:
|
||||||
- apt-get update -qy
|
- apt-get update -qy
|
||||||
- apt-get install -y python3-pip tor
|
- apt-get install -y python3-pip tor
|
||||||
- pip3 install --require-hashes -r requirements.txt
|
- pip3 install --require-hashes -r requirements.txt
|
||||||
|
- python3 --version
|
||||||
- make test
|
- make test
|
||||||
|
|
|
@ -25,6 +25,7 @@ class TestStorageCounter(unittest.TestCase):
|
||||||
def test_basic_amount(self):
|
def test_basic_amount(self):
|
||||||
import config
|
import config
|
||||||
_test_setup()
|
_test_setup()
|
||||||
|
print(config.get('allocations.disk'))
|
||||||
self.assertIsNotNone(config.get('allocations.disk'))
|
self.assertIsNotNone(config.get('allocations.disk'))
|
||||||
self.assertGreaterEqual(config.get('allocations.disk'), 1000000)
|
self.assertGreaterEqual(config.get('allocations.disk'), 1000000)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue