summaryrefslogtreecommitdiff
path: root/tests/fakegithub.py
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-02-19 18:51:37 +0000
committerGerrit Code Review <review@openstack.org>2019-02-19 18:51:37 +0000
commit24581a8360924093941cbd83283f5e6b6e68d34f (patch)
tree51dbb552571c3607caf570c1e48cac58baaf0ad5 /tests/fakegithub.py
parentc9c4a6f779cd6df1f09cf86ad894695c4f3176bd (diff)
parentcee7a4e2486e58acf385424b8ae3786543daf886 (diff)
downloadzuul-24581a8360924093941cbd83283f5e6b6e68d34f.tar.gz
Merge "Switch to LRU based sha to PR cache"
Diffstat (limited to 'tests/fakegithub.py')
-rw-r--r--tests/fakegithub.py4
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: