Skip to content

Commit

Permalink
Merge pull request #13 from workforce-data-initiative/add_tox
Browse files Browse the repository at this point in the history
Add tox, fix job normalizer test
  • Loading branch information
Gregory Mundy committed Oct 24, 2016
2 parents 841ffdd + 386042d commit cac97ea
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
10 changes: 10 additions & 0 deletions setup.py
@@ -0,0 +1,10 @@
#!/usr/bin/env python

from setuptools import setup, find_packages

setup(
name='Skills API',
version='1.0',
description='Skills API',
packages=find_packages(),
)
10 changes: 5 additions & 5 deletions tests/es_normalize_output.json
Expand Up @@ -6,7 +6,7 @@
"_type":"titles",
"_id":"-12345",
"fields":{
"title":[
"canonicaltitle":[
"Sales Managers"
]
},
Expand All @@ -17,7 +17,7 @@
"_type":"titles",
"_id":"23456",
"fields":{
"title":[
"canonicaltitle":[
"Sales Managers"
]
},
Expand All @@ -28,7 +28,7 @@
"_type":"titles",
"_id":"-34567",
"fields":{
"title":[
"canonicaltitle":[
"Sales Managers"
]
},
Expand All @@ -39,7 +39,7 @@
"_type":"titles",
"_id":"-45678",
"fields":{
"title":[
"canonicaltitle":[
"Sales Managers"
]
},
Expand All @@ -50,7 +50,7 @@
"_type":"titles",
"_id":"56789",
"fields":{
"title":[
"canonicaltitle":[
"First-Line Supervisors/Managers of Non-Retail Sales Workers"
]
},
Expand Down
7 changes: 7 additions & 0 deletions tox.ini
@@ -0,0 +1,7 @@
[tox]
envlist = py27
[testenv]
deps=
pytest
-rrequirements.txt
commands=py.test -vvv -s tests/

0 comments on commit cac97ea

Please sign in to comment.