def setUp(self):
     super(UsersTest, self).setUp()
     self.useFixture(AptInstalledJenkins(self.fakes))
     self.fakes.jenkins.scripts[GET_TOKEN_SCRIPT.format("admin")] = "abc\n"
     self.users = Users()
Example #2
0
 def setUp(self):
     super(UsersTest, self).setUp()
     self.useFixture(AptInstalledJenkins(self.fakes))
     self.fakes.jenkins.scripts[GET_TOKEN_SCRIPT.format("admin")] = "abc\n"
     self.users = Users()
Example #3
0
 def setUp(self):
     super(ApiTest, self).setUp()
     self.useFixture(JenkinsConfiguredAdmin(self.fakes))
     self.fakes.jenkins.scripts[GET_TOKEN_SCRIPT.format("admin")] = "abc\n"
     self.api = Api()
Example #4
0
 def setUp(self):
     super(ApiTest, self).setUp()
     self.useFixture(JenkinsConfiguredAdmin(self.fakes))
     self.fakes.jenkins.scripts[GET_TOKEN_SCRIPT.format("admin")] = "abc\n"
     self.api = Api()