Skip to content
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

DM-7378: Updates for Pytest #33

Merged
merged 3 commits into from Aug 25, 2016
Merged

DM-7378: Updates for Pytest #33

merged 3 commits into from Aug 25, 2016

Conversation

timj
Copy link
Member

@timj timj commented Aug 25, 2016

No description provided.

This commit renames tests in the obs_subaru package to be compliant
with the LSST naming convention.
The tests in obs_subaru have been autopep8'd to make them compliant
with the LSST PEP8 guidelines.
"""Ensure that we can ingest raw data to a repository."""
@requirePackage(TEST_DATA_PACKAGE)
@unittest.skipIf(testDataPackage is None, "%s not setup"%(testData))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to say "is not available" here so as not to imply a specific tool. Also, spacing around the %.

@AstroVPK AstroVPK force-pushed the tickets/DM-7378 branch 2 times, most recently from f68454c to f8d13bc Compare August 25, 2016 15:32
All the tests in obs_subaru have been cleaned to make them runnable
under the py.test framework. The tests have also been purged of all
deprecated usage of assert_, assertEquals, etc... The decorator to skip
tests in testRepository has been replaced with the unittest provided
skipIf decorator.
@AstroVPK AstroVPK merged commit 0f2f9ef into master Aug 25, 2016
@ktlim ktlim deleted the tickets/DM-7378 branch August 25, 2018 06:45
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.

None yet

2 participants