added TOX

This commit is contained in:
Tyrel Souza 2016-05-20 15:03:51 -04:00
parent 5ee6c1579f
commit 58aa5b1e72
No known key found for this signature in database
GPG Key ID: 2EECB5087209E6A5
4 changed files with 9 additions and 3 deletions

View File

@ -2,4 +2,4 @@ init:
pip install -r requirements.txt pip install -r requirements.txt
test: test:
py.test tests.py tox

View File

@ -1 +1,2 @@
from core import BackupCeligo, DEFAULT_BASE_URL from .core import BackupCeligo, DEFAULT_BASE_URL
from .prompt import prompt

View File

@ -7,7 +7,7 @@ import json
from slugify import slugify from slugify import slugify
import prompt from celigo import prompt
L = logging.getLogger(__name__) L = logging.getLogger(__name__)
DEFAULT_BASE_URL = "https://api.integrator.io/v1/" DEFAULT_BASE_URL = "https://api.integrator.io/v1/"

5
tox.ini Normal file
View File

@ -0,0 +1,5 @@
[tox]
envlist = py27,py33,py34,py35,pypy
[testenv]
deps=-rrequirements.txt
commands=py.test tests.py