For a public service like this, we probably want an automatic test suite to ensure that at least no completely broken code is deployed. I see that the slots for black and pytest based quality checks are already prepared, so I'm posting this issue as a reminder to fill them. :-)
For a public service like this, we probably want an automatic test suite to ensure that at least no completely broken code is deployed. I see that the slots for black and pytest based quality checks are already prepared, so I'm posting this issue as a reminder to fill them. :-)
florian.vuillemot
was assigned by max.mehl2020-12-04 10:25:57 +00:00
I'm not sure how to test the whole application, especially because of the FORMS dependency. Do you have an idea?
But, I can do a unit test on scheduler to start.
I'm not sure how to test the whole application, especially because of the FORMS dependency. Do you have an idea?
But, I can do a unit test on `scheduler` to start.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
For a public service like this, we probably want an automatic test suite to ensure that at least no completely broken code is deployed. I see that the slots for black and pytest based quality checks are already prepared, so I'm posting this issue as a reminder to fill them. :-)
Also adding here that pytest shows a lot of errors, so we may want to go through them.
I'm not sure how to test the whole application, especially because of the FORMS dependency. Do you have an idea?
But, I can do a unit test on
schedulerto start.I think the best method is to create mock replacements for the forms functions.
Do you have any ideas for other tests?