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] Run pytest tests in runtests.py #223

Closed
nemesifier opened this issue Jul 6, 2020 · 2 comments · Fixed by #236
Closed

[tests] Run pytest tests in runtests.py #223

nemesifier opened this issue Jul 6, 2020 · 2 comments · Fixed by #236

Comments

@nemesifier
Copy link
Member

@atb00ker can we change the runtests.py script to make it run tests with pytest?
If it finds the SAMPLE_APP env var it could automatically select the right ini file.
Or we may also avoid the ini files completely and just call the raw command from the script.

This would simplify things. I often forget about running those tests.

@nemesifier nemesifier added this to Backlog in [GSoC20] Merge modules via automation Jul 6, 2020
@atb00ker
Copy link
Member

atb00ker commented Jul 7, 2020

When I was trying this last time, there was some problem, but I don't remember the details, I'll check again and ping back! 😄

@atb00ker
Copy link
Member

atb00ker commented Jul 8, 2020

possible example: openwisp/openwisp-notifications#57 (comment)

@atb00ker atb00ker moved this from Backlog to To do (Next) in [GSoC20] Merge modules Jul 11, 2020
atb00ker added a commit to atb00ker/openwisp-controller that referenced this issue Jul 13, 2020
@atb00ker atb00ker moved this from To do (Next) to In progress in [GSoC20] Merge modules Jul 13, 2020
[GSoC20] Merge modules automation moved this from In progress to Done Jul 13, 2020
nemesifier pushed a commit that referenced this issue Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants