Ejemplo n.º 1
0
 def __init__(self, branch='mozilla-inbound'):
     self.branch = branch
     self._repo_url = branches.get_url(branch)
     self.logger = get_default_logger("JsonPushes")
Ejemplo n.º 2
0
def test_get_urls(branch, url):
    assert branches.get_url(branch) == url
Ejemplo n.º 3
0
def test_get_url_unknown_branch():
    with pytest.raises(errors.MozRegressionError):
        branches.get_url("unknown branch")
Ejemplo n.º 4
0
 def __init__(self, branch='mozilla-inbound'):
     self.branch = branch
     self.repo_url = branches.get_url(branch)
Ejemplo n.º 5
0
def test_get_url_unknown_branch():
    with pytest.raises(errors.MozRegressionError):
        branches.get_url("unknown branch")
Ejemplo n.º 6
0
def test_get_urls(branch, url):
    assert branches.get_url(branch) == url
Ejemplo n.º 7
0
 def __init__(self, branch='mozilla-inbound'):
     self.branch = branch
     self.repo_url = branches.get_url(branch)
Ejemplo n.º 8
0
 def __init__(self, branch="mozilla-central"):
     self.branch = branch
     self.repo_url = branches.get_url(branch)