def setUp(self):
        super(TestActivityLogCount, self).setUp()
        now = datetime.now()
        bom = datetime(now.year, now.month, 1)
        self.lm = bom - timedelta(days=1)
        self.user = UserProfile.objects.get()
        amo.set_user(self.user)
dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/tests/test_models.py/TestActivityLogCount.setUp/original