From e4a2a0b339bef00a659e82d8eb04ca977e1572d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Sat, 4 Apr 2020 03:23:05 +0200 Subject: [PATCH] install requests before tests --- .travis.yml | 2 +- README.md | 1 + setup.py | 2 +- tests/test_instrumentation/test_metrics/test_structures.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 02296890..dbf05ae8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ before_script: - ./cc-test-reporter before-build install: - pip install -r requirements.txt - - pip install coverage nose2 + - pip install coverage nose2 requests script: - bash tests/test_posix/test_hang_until_sig.sh - coverage run -m nose2 -vv diff --git a/README.md b/README.md index 58a2f423..193be031 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Satella contains, among other things: * things to help you manage your [application's configuration](satella/configuration) * a fully equipped [metrics library](satella/instrumentation/metrics) + * alongside a fully metricized [ThreadPoolExecutor](satella/instrumentation/metrics/structures/threadpool.py) * helpful [exception handlers](satella/exception_handling) * common programming [idioms](satella/coding) diff --git a/setup.py b/setup.py index 6dc2f903..ef8a18a6 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages from satella import __version__ -setup(keywords=['ha', 'high availability', 'scalable', 'scalability', 'server'], +setup(keywords=['ha', 'high availability', 'scalable', 'scalability', 'server', 'metrics'], packages=find_packages(include=['satella', 'satella.*']), version=__version__, install_requires=[ diff --git a/tests/test_instrumentation/test_metrics/test_structures.py b/tests/test_instrumentation/test_metrics/test_structures.py index 3dfbe9a5..6550dea4 100644 --- a/tests/test_instrumentation/test_metrics/test_structures.py +++ b/tests/test_instrumentation/test_metrics/test_structures.py @@ -2,7 +2,7 @@ import unittest from satella.instrumentation.metrics import getMetric -from satella import time +import time from satella.instrumentation.metrics.structures import MetrifiedThreadPoolExecutor -- GitLab