diff options
author | Nicolargo <nicolas@nicolargo.com> | 2015-11-25 15:39:30 +0100 |
---|---|---|
committer | Nicolargo <nicolas@nicolargo.com> | 2015-11-25 15:39:30 +0100 |
commit | af3b2a87d501bdcce90dc40054ad9f11c2b65be1 (patch) | |
tree | a9dfc5d530131ca6efe168ec3bee262a4378551d /setup.py | |
parent | 1c56b91f96af9a17d918cfbbfa8f60a08811d794 (diff) |
API tests + requests in the setup.py script
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,7 +21,7 @@ class tests(Command): def run(self): import subprocess import sys - for t in glob.glob('unitest.py'): + for t in glob.glob('unitest*.py'): ret = subprocess.call([sys.executable, t]) != 0 if ret != 0: raise SystemExit(ret) @@ -59,7 +59,7 @@ setup( keywords="cli curses monitoring system", install_requires=get_requires(), extras_require={ - 'WEB': ['bottle'], + 'WEB': ['bottle', 'requests'], 'SENSORS': ['py3sensors'], 'BATINFO': ['batinfo'], 'SNMP': ['pysnmp'], |