Now let's create a test package by following the below steps.
Create a folder named Project1.
Create a subfolder named test in Project1.
Create a file named __init__.py in Project1/test folder.
Move the file test_module1.py into Project1/test folder.
Add the expression into all = ['test_module1'] into __init__.py file and save it.
The folder test now acts like a test package. You can also add any number of test modules to test directory.