Example #1
0
 def setUp(self):
     git_repo = make_test_git()
     super(TestGitBackend, self).setUp()
     self.eric = User.objects.get(username='******')
     self.project = Project.objects.create(
         name="Test Project",
         repo_type="git",
         #Our top-level checkout
         repo=git_repo)
     self.project.users.add(self.eric)
 def setUp(self):
     git_repo = make_test_git()
     super(TestGitBackend, self).setUp()
     self.eric = User.objects.get(username='******')
     self.project = Project.objects.create(
         name="Test Project",
         repo_type="git",
         #Our top-level checkout
         repo=git_repo
     )
     self.project.users.add(self.eric)
 def setUp(self):
     repo = make_test_git()
     self.repo = repo
     super(TestBuilding, self).setUp()
     self.eric = User.objects.get(username='******')
     self.project = Project.objects.create(
         user=self.eric,
         name="Test Project",
         repo_type="git",
         #Our top-level checkout
         repo=repo,
     )
Example #4
0
 def setUp(self):
     repo = make_test_git()
     self.repo = repo
     super(TestCeleryBuilding, self).setUp()
     self.eric = User.objects.get(username='******')
     self.project = Project.objects.create(
         name="Test Project",
         repo_type="git",
         #Our top-level checkout
         repo=repo,
     )
     self.project.users.add(self.eric)
Example #5
0
 def setUp(self):
     repo = make_test_git()
     self.repo = repo
     super(TestCeleryBuilding, self).setUp()
     self.eric = User.objects.get(username="******")
     self.project = Project.objects.create(
         name="Test Project",
         repo_type="git",
         # Our top-level checkout
         repo=repo,
     )
     self.project.users.add(self.eric)
Example #6
0
 def setUp(self):
     repo = make_test_git()
     self.repo = repo
     super(TestDocTracking, self).setUp()
     self.eric = User.objects.get(username='******')
     self.project = Project.objects.create(
         name="Test Project",
         repo_type="git",
         #Our top-level checkout
         repo=repo,
     )
     self.version = Version.objects.create(project=self.project,
                                           slug='latest')
     self.project.users.add(self.eric)