Create a __init__.py file

Description

The __init__.py file is a special marker that signifies a directory as a Python package. Without this file, Python treats the directory as a regular one, which prevents you from importing test fixtures and test base modules using the package import syntax.

Place in the Project Directory

The __init__.py file can be empty or contain initialization code for the package. It should be placed in the Test directory and in the specific test series subdirectories as shown:

Project_directory
    |
    |
    |-- Tests
    |   |-- Test_series1_name
    |   |   |-- __init__.py <===============================
    |   |   |--  Test_series2_test_fixture.py (optional)
    |   |   |-- test_case1_name.py
    |   |   |-- test_case2_name.py
    |   |
    |   |-- Test_series2_name
    |   |   |-- __init__.py  <===============================
    |   |   |-- Test_series2_test_fixture.py (optional)
    |   |   |-- test_case1_name.py
    |   |   |-- test_case2_name.py
    |   |
    |   |-- __init__.py     <===============================
    |   |-- Test_base.py
    |   |-- Global_name_test_fixture.py