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

Tests #35

Merged
merged 4 commits into from
Jan 12, 2021
Merged

Tests #35

merged 4 commits into from
Jan 12, 2021

Conversation

espenhgn
Copy link
Collaborator

This should get #16 started by running test suite in /mesocircuit/tests/ automatically as well as some flake8 linting (#9).

@espenhgn espenhgn added the enhancement New feature or request label Dec 10, 2020
@espenhgn
Copy link
Collaborator Author

@jhnnsnk ; this can be merged. Shouldn't break anything; but the github action will complain a bit if pushed code doesn't conform to flake8 standards (less stringent than the other PEP8 PR).

Copy link
Collaborator

@jhnnsnk jhnnsnk left a comment

Choose a reason for hiding this comment

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

Thanks. Just one minor thing so far and a question. :-)

.github/workflows/python-app.yml Outdated Show resolved Hide resolved

"""

import unittest
Copy link
Collaborator

Choose a reason for hiding this comment

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

We recently used pytest in a different project (https://github.com/INM-6/lif_meanfield_tools) and I really liked it. Are there any specific reasons for using unittest here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

None other than that unittest is part of the standard library and pytest is not. But I install it anyway to run the tests so please go ahead and use the latter if you want in the future.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think unittest is ok here. I will merge.

@jhnnsnk jhnnsnk merged commit 0dd6d56 into master Jan 12, 2021
This was referenced Jan 12, 2021
@espenhgn espenhgn deleted the tests branch April 19, 2021 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants