Skip to content

Commit b0865ec

Browse files
adjust activity dates
1 parent 947f199 commit b0865ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ def test_fetch_account_activity_v2_dates(self, ig_service):
182182
assert isinstance(response, pd.DataFrame)
183183

184184
def test_fetch_account_activity_from(self, ig_service: IGService):
185-
to_date = datetime.now() - timedelta(days=3)
186-
from_date = to_date - timedelta(days=7)
185+
to_date = datetime.now() - timedelta(days=30)
186+
from_date = to_date - timedelta(days=60)
187187
response = ig_service.fetch_account_activity(from_date=from_date)
188188
assert isinstance(response, pd.DataFrame)
189189
assert response.shape[1] == 9

0 commit comments

Comments
 (0)