diff options
author | Zuul <zuul@review.openstack.org> | 2019-02-19 18:51:37 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-02-19 18:51:37 +0000 |
commit | 24581a8360924093941cbd83283f5e6b6e68d34f (patch) | |
tree | 51dbb552571c3607caf570c1e48cac58baaf0ad5 /tests/fakegithub.py | |
parent | c9c4a6f779cd6df1f09cf86ad894695c4f3176bd (diff) | |
parent | cee7a4e2486e58acf385424b8ae3786543daf886 (diff) | |
download | zuul-24581a8360924093941cbd83283f5e6b6e68d34f.tar.gz |
Merge "Switch to LRU based sha to PR cache"
Diffstat (limited to 'tests/fakegithub.py')
-rw-r--r-- | tests/fakegithub.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fakegithub.py b/tests/fakegithub.py index 3c73ebc22..5f1efc419 100644 --- a/tests/fakegithub.py +++ b/tests/fakegithub.py @@ -251,7 +251,9 @@ class FakeRepository(object): } return FakeResponse(data) - def pull_requests(self, state=None): + def pull_requests(self, state=None, sort=None, direction=None): + # sort and direction are unused currently, but present to match + # real world call signatures. pulls = [] for pull in self.data.pull_requests.values(): if pull.project != self.name: |