Exemplo n.º 1
0
    def setUp(self):
        MockTest.setUp(self)

        self.scc_parser, self.sub_parser = parsers()
        self.command = TravisMerge(self.sub_parser)
        self.base = 'master'
        self.filters = self.get_default_filters()
Exemplo n.º 2
0
    def setUp(self):
        MockTest.setUp(self)

        self.scc_parser, self.sub_parser = parsers()
        self.command = TravisMerge(self.sub_parser)
        self.base = 'master'
        self.filters = self.get_default_filters()
Exemplo n.º 3
0
 def setUp(self):
     MockTest.setUp(self)
     self.test_filter = {
         "label": ["test_label"],
         "user": ["test_user"],
         "pr": ["1"],
     }
Exemplo n.º 4
0
 def setUp(self):
     MockTest.setUp(self)
     self.test_filter = {
         "label": ["test_label"],
         "user": ["test_user"],
         "pr": ["1"],
         }
Exemplo n.º 5
0
 def setUp(self):
     MockTest.setUp(self)
     self.input = {
         "label": ["test_label"],
         "user": ["test_user"],
         "pr": ["1"],
         }
     self.filters = {}
Exemplo n.º 6
0
    def setUp(self):
        MockTest.setUp(self)

        self.scc_parser, self.sub_parser = parsers()
        self.merge = Merge(self.sub_parser)
        self.test_filter = {
            "label": ["test_label"],
            "user": ["test_user"],
            "pr": ["1"],
            }
        self.default_exclude = ['exclude']
        self.default_include = ['include']
        self.default_default = 'org'
Exemplo n.º 7
0
    def setUp(self):
        MockTest.setUp(self)

        self.scc_parser, self.sub_parser = parsers()
        self.merge = Merge(self.sub_parser)
        self.base = 'master'
        self.default_filters = {'base': 'master', 'default': 'org',
            'include':{}, 'exclude':{}}
        self.default_filters["include"]["label"] = ["include"]
        self.default_filters["include"]["pr"] = None
        self.default_filters["include"]["user"] = None
        self.default_filters["exclude"]["label"] = ["exclude"]
        self.default_filters["exclude"]["pr"] = None
        self.default_filters["exclude"]["user"] = None
Exemplo n.º 8
0
    def setUp(self):
        MockTest.setUp(self)

        self.scc_parser, self.sub_parser = parsers()
        self.token = Token(self.sub_parser)
        self.default_scopes = ['public_repo']
Exemplo n.º 9
0
    def setUp(self):
        MockTest.setUp(self)

        self.scc_parser, self.sub_parser = parsers()
        self.token = Token(self.sub_parser)
        self.default_scopes = ['public_repo']
Exemplo n.º 10
0
 def setUp(self):
     MockTest.setUp(self)
     UnitTestFilteredPullRequestsCommand.setUp(self)
     self.command = SetCommitStatus(self.sub_parser)
     self.status = 'success'
     self.message = 'test'
Exemplo n.º 11
0
 def setUp(self):
     MockTest.setUp(self)
     UnitTestFilteredPullRequestsCommand.setUp(self)
     self.command = Merge(self.sub_parser)
Exemplo n.º 12
0
 def setUp(self):
     MockTest.setUp(self)
     UnitTestFilteredPullRequestsCommand.setUp(self)
     self.command = SetCommitStatus(self.sub_parser)
     self.status = 'success'
     self.message = 'test'
Exemplo n.º 13
0
 def setUp(self):
     MockTest.setUp(self)
     UnitTestFilteredPullRequestsCommand.setUp(self)
     self.command = Merge(self.sub_parser)