10000 initial infrastructure for smoke tests (#176) · rickyren/server-client-python@735130a · GitHub
[go: up one dir, main page]

Skip to content

Commit 735130a

Browse files
author
Russell Hay
authored
initial infrastructure for smoke tests (tableau#176)
* initial infrastructure for smoke tests * trying to fix travis errors by not pinning the version * fix pinning to major version, not minor
1 parent 6f9dc37 commit 735130a

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
__pycache__/
33
*.py[cod]
44
*$py.class
5+
test.junit.xml
56

67
# C extensions
78
*.so
@@ -145,4 +146,4 @@ $RECYCLE.BIN/
145146

146147
# Documentation
147148
docs/_site/
148-
docs/.jekyll-metadata
149+
docs/.jekyll-metadata

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ versionfile_build = tableauserverclient/_version.py
2020
tag_prefix = v
2121
#parentdir_prefix =
2222

23+
[aliases]
24+
smoke=pytest
25+
26+
[tool:pytest]
27+
testpaths = test smoke
28+
addopts = --junitxml=./test.junit.xml

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@
1616
license='MIT',
1717
description='A Python module for working with the Tableau Server REST API.',
1818
test_suite='test',
19+
setup_requires=[
20+
'pytest-runner'
21+
],
1922
install_requires=[
20-
'requests>=2.11,<2.12.0a0'
23+
'requests>=2.11,<3.0'
2124
],
2225
tests_require=[
23-
'requests-mock>=1.0,<1.1a0'
26+
'requests-mock>=1.0,<2.0',
27+
'pytest'
2428
]
2529
)

smoke/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)
0