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

Tickets/dm 2701 #1

Merged
merged 2 commits into from May 11, 2015
Merged

Tickets/dm 2701 #1

merged 2 commits into from May 11, 2015

Conversation

danielsf
Copy link
Contributor

@danielsf danielsf commented May 8, 2015

The unit tests were failing if the user had a .lsst/db-auth.paf file without the correct credentials. This is because unit tests were skipped based on whether or not .lsst/db-auth.paf existed, without regards to its contents. This skip was implemented in the tests/SConscript file. This pull requests moves the skipping determination into the actual unit tests themselves, and makes the decision whether or not to skip a test based on both the contents and the existence of .lsst/db-auth.paf.

Robyn Allsman and others added 2 commits May 11, 2015 09:17
added code to Persistence_2.py in tests/ that will simply exit
without running any tests if the user does not have credentials
for the necessary database

added code to the C++ unit tests to exit without failing
if the user does not have credentials to access the
test database

added comments explaining changes to unit test
@danielsf danielsf merged commit 615041f into master May 11, 2015
@ktlim ktlim deleted the tickets/DM-2701 branch August 25, 2018 06:14
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