def METHOD_NAME(self):
    """
    Test that get_currently_learners returns the correct number of learners.
    """
    self.user.last_login = datetime.now() - timedelta(days=1)
    self.user.save()
    self.user1.last_login = datetime.now() - timedelta(weeks=2)
    self.user1.save()
    self.user2.last_login = datetime.now() - timedelta(weeks=4)
    self.user2.save()
    assert get_recently_active_users(weeks=3) == 2