def test_days_before_starting(self): factory = MembershipFactory() assert factory.days_before_starting() == 0