-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configuration of tests, test data loading, setup
- Loading branch information
r-sierra
committed
Feb 19, 2018
1 parent
45ac8ab
commit 6f179bc
Showing
11 changed files
with
98 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,9 @@ nosetests.xml | |
htmlcov | ||
coverage.xml | ||
|
||
# Pytest cache | ||
.pytest_cache | ||
|
||
# PyCharm data | ||
.idea | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include README.rst | ||
include docs/*.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Tienda Mobil Python API | ||
----------------------- | ||
|
||
To use simply do:: | ||
|
||
>>> import tienda_mobil | ||
>>> api = tienda_mobil.Api('http://www.lvh.me', 'API-KEY') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[pytest] | ||
norecursedirs= | ||
venv | ||
*/python?.?/* | ||
*/site-packages/* | ||
.tox/* | ||
|
||
with-coverage = true | ||
cover-package = twitter | ||
cover-html = true | ||
cover-html-dir = htmlcov | ||
cover-erase = true | ||
cover-inclusive = true | ||
cover-branches = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[aliases] | ||
test = pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"id": "20488", | ||
"type": "orders", | ||
"attributes": { | ||
"price-list": "R02-2018", | ||
"customer": { | ||
"code": "24899348", | ||
"name": "Schmidt Analia Angelica" | ||
}, | ||
"comment": "Una caja club", | ||
"total-amount": "373.2", | ||
"total-quantity": 12, | ||
"businessman": "13008624" | ||
} | ||
}, | ||
{ | ||
"id": "20492", | ||
"type": "orders", | ||
"attributes": { | ||
"price-list": "R02-2018", | ||
"customer": { | ||
"code": "31202377", | ||
"name": "Gonzalez Claudia Noemi" | ||
}, | ||
"comment": "", | ||
"total-amount": "614.9", | ||
"total-quantity": 20, | ||
"businessman": "14076370" | ||
} | ||
}, | ||
{ | ||
"id": "20493", | ||
"type": "orders", | ||
"attributes": { | ||
"price-list": "R02-2018", | ||
"customer": { | ||
"code": "05003446", | ||
"name": "Rios Mirta Amalia" | ||
}, | ||
"comment": "", | ||
"total-amount": "579.0", | ||
"total-quantity": 7, | ||
"businessman": "14076370" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters