示例#1
0
    def setUp(self):
        team = Team(name="Good Guys", sort_order=1, slug="goodguys")
        team.save()

        char = Character(name="Happy", sort_order=1, slug="happy", team=team)
        char.save()

        team = Team(name="Bad Guys", sort_order=2, slug="badguys")
        team.save()

        char = Character(name="Dot Dragon", sort_order=2, slug="dotdragon", team=team)
        char.save()
示例#2
0
 def setUp(self):
     team = Team(name="Good Guys", sort_order=1, slug="goodguys")
     team.save()
     team = Team(name="Bad Guys", sort_order=2, slug="badguys")
     team.save()
示例#3
0
 def setUp(self):
     team = Team(name="Test", sort_order=1, slug="goodguys")
     team.save()
示例#4
0
    def setUp(self):
        team = Team(name="Test", sort_order=1, slug="goodguys")
        team.save()

        char = Character(name="Test", sort_order=1, slug="happy", team=team)
        char.save()