def test_outer_join_count(self):

        Order, User, Address = (self.classes.Order,
                                self.classes.User,
                                self.classes.Address)


        session = create_session()

        q = (session.query(User).outerjoin('orders', 'addresses').
             filter(sa.or_(Order.id == None, Address.id == 1)))
        eq_(q.count(), 4)
Get a day format string in strptime syntax to be used to parse the day
dataset/ETHPy150Open zzzeek/sqlalchemy/test/orm/test_generative.py/RelationshipsTest.test_outer_join_count--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/views/generic/dates.py/DayMixin.get_day_format