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

Fixed and cleaned up store test #14

Merged
merged 2 commits into from
Jul 8, 2018

Conversation

Skarlso
Copy link
Member

@Skarlso Skarlso commented Jul 8, 2018

Store test was invalidly trying to cleanup data folder when a test failed. Because db file cleanup wasn't a defer call.

This meant that the cleanup after m.Run() wasn't able to cleanup data folder as it wasn't empty.

Also, I'm not sure what the last test case was supposed to test, but it wasn't working as is, because testuser was a valid user and it was trying to log - in with an invalid password.

@Skarlso Skarlso mentioned this pull request Jul 8, 2018
Copy link
Member

@michelvocks michelvocks left a comment

Choose a reason for hiding this comment

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

LGTM 🤗

@michelvocks michelvocks merged commit e57a9fe into gaia-pipeline:master Jul 8, 2018
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.

2 participants