示例#1
0
    def setup_class(cls):
        """ Add database fixtures """

        build_livreur(id=5)
        db.session.commit()
示例#2
0
    def setup_class(cls):
        """ Add database fixtures """

        c1 = build_country(id=1, name="Canada")
        build_livreur(id=5)
        db.session.commit()
示例#3
0
    def setup_class(cls):
        """ Add database fixtures """

        build_livreur(id=1)
        db.session.commit()
示例#4
0
    def setup_class(cls):
        """ Add database fixtures """

        build_country(id=1, name="Canada")
        build_livreur(id=10, mail="*****@*****.**")
        db.session.commit()
示例#5
0
    def setup_class(cls):
        """ Add database fixtures """

        build_country(id=1, name="Canada")
        build_livreur(id=10, mail="*****@*****.**")
        db.session.commit()
示例#6
0
    def setup_class(cls):
        """ Add database fixtures """

        c1 = build_country(id=1, name="Canada")
        build_livreur(id=5)
        db.session.commit()