<gh_stars>1-10
from datetime import date

from activity.datetime_scoring_period import DatetimeScoringPeriod


class DatetimeScoringPeriodTest:

    def setup(self):
        self.target = DatetimeScoringPeriod()

    def test_sanity(self):
        d = date(year=2021, month=10, day=24)
        assert 6 == self.target.convert(d)


from datetime import date

from activity.datetime_scoring_period import DatetimeScoringPeriod


class DatetimeScoringPeriodTest:

    def setup(self):
        self.target = DatetimeScoringPeriod()

    def test_sanity(self):
        d = date(year=2021, month=10, day=24)
        assert 6 == self.target.convert(d)