Skip to content

[WIP] Deleting files uploaded to test server during unit testing - #725

Closed
Neeratyoy wants to merge 7 commits into
developfrom
fix_261
Closed

Neeratyoy wants to merge 7 commits into
developfrom
fix_261

Conversation

@Neeratyoy

@Neeratyoy Neeratyoy commented Jul 4, 2019 •

Copy link
Copy Markdown
Contributor

Reference Issue

Addresses #261.

What does this PR implement/fix? Explain your changes.

After each publish(), the returned ID and the entity type is collected in a static dictionary in TestBase. The deletion phase is an extension of #721 wherein, after all unit tests are run, the dictionary elements are iterated over and openml.utils._delete_entity() is called to POST a delete request on the test server.

How should this PR be tested?

Running pytest -s

@Neeratyoy Neeratyoy closed this Jul 4, 2019
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.

1 participant