import pytest
import sys
sys.path.append('../')
from src import dateSub

with open ("data/easymonth_test_cases.txt",mode='r') as casefile:
		res= [tuple(line.strip().split(","))for line in casefile]


@pytest.mark.parametrize('date,exp',res)
def test_easy_cases(date,exp):
	act=dateSub.Subscription(date,'15-03-1995')[1]
	assert act==exp

48b85e5dc46b2a85c23f24bf3a63b8574a6b04ed
<mask token>

<mask token>


@pytest.mark.parametrize('date,exp', res)
def test_easy_cases(date, exp):
    act = dateSub.Subscription(date, '15-03-1995')[1]
    assert act == exp

<mask token>
sys.path.append('../')
<mask token>
with open('data/easymonth_test_cases.txt', mode='r') as casefile:
    res = [tuple(line.strip().split(',')) for line in casefile]


@pytest.mark.parametrize('date,exp', res)
def test_easy_cases(date, exp):
    act = dateSub.Subscription(date, '15-03-1995')[1]
    assert act == exp

import pytest
import sys
sys.path.append('../')
from src import dateSub
with open('data/easymonth_test_cases.txt', mode='r') as casefile:
    res = [tuple(line.strip().split(',')) for line in casefile]


@pytest.mark.parametrize('date,exp', res)
def test_easy_cases(date, exp):
    act = dateSub.Subscription(date, '15-03-1995')[1]
    assert act == exp

import pytest
import sys
sys.path.append('../')
from src import dateSub

with open ("data/easymonth_test_cases.txt",mode='r') as casefile:
		res= [tuple(line.strip().split(","))for line in casefile]


@pytest.mark.parametrize('date,exp',res)
def test_easy_cases(date,exp):
	act=dateSub.Subscription(date,'15-03-1995')[1]
	assert act==exp
