From 52c9985c1e3e0a9e06c0374dba895319d20b779e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Dav=C3=B3?= Date: Sat, 11 Jun 2022 10:39:45 +0200 Subject: [PATCH] Fixed tests --- .../daos/metric/strategy/test_st_active_token_holders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/apps/aragon/data_access/daos/metric/strategy/test_st_active_token_holders.py b/test/unit/apps/aragon/data_access/daos/metric/strategy/test_st_active_token_holders.py index 675ff325..d42aed7f 100644 --- a/test/unit/apps/aragon/data_access/daos/metric/strategy/test_st_active_token_holders.py +++ b/test/unit/apps/aragon/data_access/daos/metric/strategy/test_st_active_token_holders.py @@ -36,9 +36,9 @@ def test_process_data(self): {'voter': 1, 'trash': 'trash', 'createdAt': bl.change(hour=5).unix()},#today_year-(today_month-3)-27T05:00:00+00:00 {'entity': 1, 'trash': 'trash', 'date': bl.add(month=2).unix()},#today_year-(today_month-1)-27T05:00:00+00:00 {'entity': 2, 'trash': 'trash', 'date': bl.change(day=3, hour=23).unix()},#today_year-(today_month-1)-03T23:00:00+00:00 - {'creator': 2, 'trash': 'trash', 'startDate': bl.add(month=1).change(minute=59, second=59).unix()},#today_year-today_month-03T23:59:59+00:00 + {'originalCreator': 2, 'trash': 'trash', 'startDate': bl.add(month=1).change(minute=59, second=59).unix()},#today_year-today_month-03T23:59:59+00:00 {'entity': 3, 'trash': 'trash', 'date': bl.unix()},#today_year-today_month-03T23:59:59+00:00 - {'creator': 2, 'trash': 'trash', 'startDate': bl.add(second=1).change(day=7, hour=17).unix()},#today_year-today_month-07T17:00:00+00:00 + {'originalCreator': 2, 'trash': 'trash', 'startDate': bl.add(second=1).change(day=7, hour=17).unix()},#today_year-today_month-07T17:00:00+00:00 ]) out: List[int] = [1, 0, 2, 2]