Skip to content

Test improvements #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 28, 2015
Merged

Test improvements #14

merged 12 commits into from
Apr 28, 2015

Conversation

rliebz
Copy link
Contributor

@rliebz rliebz commented Apr 20, 2015

Changes

  • Add methods for creating/deleting dataverses
  • Switch tests to use a temporary dataverse
  • Silence urllib3 warnings
  • Remove relative pathing from tests
  • Switch to py.test for testing
  • Switch to py.test style asserts
  • Improve documentation
  • Remove unnecessary connected boolean from Connection (Connection will throw an exception if it doesn't connect successfully)
  • Move data refreshing logic for getting datasets
  • Allow metadata updating to resolve Support editing the metadata of a dataset using JSON #15

Side Effects

  • By default, getting a dataset/datasets won't make a request to the server if one has already been made. This is a change from current behavior, but more closely resembles logic for getting Dataverses.
    • The list of datasets on a dataverse will be refreshed automatically by a request to the server every time a dataset is added or deleted.
  • add_dataset has been replaced with create_dataset to improve consistency across the client.

rliebz added a commit that referenced this pull request Apr 28, 2015
Improve consistency, usability, tests, and documentation.
@rliebz rliebz merged commit 096c496 into master Apr 28, 2015
@rliebz rliebz deleted the test-improvements branch April 28, 2015 17:19
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.

Support editing the metadata of a dataset using JSON
1 participant