Esempio n. 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):
     repo = make_test_git()
     self.repo = repo
     super(TestBuilding, 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)
 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(
         name="Test Project",
         repo_type="git",
         #Our top-level checkout
         repo=repo,
     )
     self.project.users.add(self.eric)
 def setUp(self):
     git_repo = make_test_git()
     super(TestGitBackend, self).setUp()
     self.eric = User(username="******")
     self.eric.set_password("test")
     self.eric.save()
     self.project = Project.objects.create(
         name="Test Project",
         repo_type="git",
         # Our top-level checkout
         repo=git_repo,
     )
     self.project.users.add(self.eric)
Esempio n. 5
0
 def setUp(self):
     repo = make_test_git()
     self.repo = repo
     super().setUp()
     self.eric = User(username='******')
     self.eric.set_password('test')
     self.eric.save()
     self.project = Project.objects.create(
         name='Test Project',
         repo_type='git',
         # Our top-level checkout
         repo=repo,
     )
     self.project.users.add(self.eric)
Esempio n. 6
0
 def setUp(self):
     git_repo = make_test_git()
     super(TestGitBackend, self).setUp()
     self.eric = User(username='******')
     self.eric.set_password('test')
     self.eric.save()
     self.project = Project.objects.create(
         name="Test Project",
         repo_type="git",
         #Our top-level checkout
         repo=git_repo)
     self.project.users.add(self.eric)
     self.dummy_conf = Mock()
     # These are the default values from v1
     self.dummy_conf.submodules.include = ALL
     self.dummy_conf.submodules.exclude = []
 def setUp(self):
     git_repo = make_test_git()
     super().setUp()
     self.eric = User(username='******')
     self.eric.set_password('test')
     self.eric.save()
     self.project = Project.objects.create(
         name='Test Project',
         repo_type='git',
         #Our top-level checkout
         repo=git_repo,
     )
     self.project.users.add(self.eric)
     self.dummy_conf = Mock()
     # These are the default values from v1
     self.dummy_conf.submodules.include = ALL
     self.dummy_conf.submodules.exclude = []
Esempio n. 8
0
 def setUp(self):
     repo = make_test_git()
     self.repo = repo
     super().setUp()
     self.eric = User(username='******')
     self.eric.set_password('test')
     self.eric.save()
     self.project = Project.objects.create(
         name='Test Project',
         repo_type='git',
         # Our top-level checkout
         repo=repo,
     )
     self.project.users.add(self.eric)
     get(
         Feature,
         feature_id=Feature.SYNC_VERSIONS_USING_A_TASK,
         projects=[self.project],
     )