<filename>tests/all_year_test.py
from os import sys, path
sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
from calculations.AllYear import AllYear
from utils.helpers import create_folders

create_folders()

start_date = '10/1'
directory_name = 'tests/testFiles'
end_with = 'Case_1.csv'
class_number = 3
gauge_numbers = [11475560]

print('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$')
print('All Year calculation')
AllYear(start_date, directory_name, end_with, class_number, None, False).calculate()
AllYear(start_date, directory_name, end_with, None, gauge_numbers, False).calculate()

<filename>tests/all_year_test.py
from os import sys, path
sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
from calculations.AllYear import AllYear
from utils.helpers import create_folders

create_folders()

start_date = '10/1'
directory_name = 'tests/testFiles'
end_with = 'Case_1.csv'
class_number = 3
gauge_numbers = [11475560]

print('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$')
print('All Year calculation')
AllYear(start_date, directory_name, end_with, class_number, None, False).calculate()
AllYear(start_date, directory_name, end_with, None, gauge_numbers, False).calculate()
