You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Nkululeko is mainly a collection of Python CLI (not imported as modules), with argparse and configparser, the conventional way to use Python test is little bit difficult. There is a discussion here with many proposed solutions.
With the current test using bash shell for each module, it will become very difficult in the future to test all functionalities. But test is a must. We should try or choose options than the current shell test. Perhaps to try pytest as you showed above.
Here is an example
tests/test_to_db.py
:The text was updated successfully, but these errors were encountered: