Skip to content

Revised the test suite a bit#26

Closed
madhadron wants to merge 7 commits intodevelopfrom
fross-feature/testrevision
Closed

Revised the test suite a bit#26
madhadron wants to merge 7 commits intodevelopfrom
fross-feature/testrevision

Conversation

@madhadron
Copy link
Copy Markdown

Made runtests.py autodiscover tests.
Got test_examples.py running again.
Tests and examples now run in place in the SDK directory without having to install anything.
Updated tests/README.md to reflect these changes.

Frederick Ross added 3 commits May 1, 2012 10:15
The tests can now be run in place, without installing the library.
I switched to autodiscovery of tests in runtests.py, and added comments
in tests/README.md about how to run the tests with py.test if you have
it installed.
Had to add sys.path.insert(0, '../') to the top of examples/**/*.py.
test_examples.py runs subprocesses with CWD=../examples.
runtests.py has been modified to autodiscover tests.
@itay
Copy link
Copy Markdown
Contributor

itay commented May 1, 2012

Can we make sure this doesn't break code coverage using coverage.py?

Frederick Ross added 4 commits May 1, 2012 11:54
DeploymentTenant subclasses Entity and wraps
/deployment/tenants/{name}; DeploymentTenants subclasses Collection
and wraps /deployment/tenants.
Also fixed a few test issues in deployment/tenants
Now you can call app.author instead of app['author'].
@madhadron madhadron closed this May 3, 2012
szykol pushed a commit to szykol/splunk-sdk-python that referenced this pull request Mar 10, 2026
…velop/actions/checkout-6.0.2

Bump actions/checkout from 6.0.1 to 6.0.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants